Create CatalogTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CatalogTemplate(name: string, args: CatalogTemplateArgs, opts?: CustomResourceOptions);@overload
def CatalogTemplate(resource_name: str,
args: CatalogTemplateArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CatalogTemplate(resource_name: str,
opts: Optional[ResourceOptions] = None,
template: Optional[str] = None,
values: Optional[str] = None,
version: Optional[str] = None,
gvc: Optional[str] = None,
name: Optional[str] = None)func NewCatalogTemplate(ctx *Context, name string, args CatalogTemplateArgs, opts ...ResourceOption) (*CatalogTemplate, error)public CatalogTemplate(string name, CatalogTemplateArgs args, CustomResourceOptions? opts = null)
public CatalogTemplate(String name, CatalogTemplateArgs args)
public CatalogTemplate(String name, CatalogTemplateArgs args, CustomResourceOptions options)
type: cpln:CatalogTemplate
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 CatalogTemplateArgs
- 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 CatalogTemplateArgs
- 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 CatalogTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CatalogTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CatalogTemplateArgs
- 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 catalogTemplateResource = new Cpln.CatalogTemplate("catalogTemplateResource", new()
{
Template = "string",
Values = "string",
Version = "string",
Gvc = "string",
Name = "string",
});
example, err := cpln.NewCatalogTemplate(ctx, "catalogTemplateResource", &cpln.CatalogTemplateArgs{
Template: pulumi.String("string"),
Values: pulumi.String("string"),
Version: pulumi.String("string"),
Gvc: pulumi.String("string"),
Name: pulumi.String("string"),
})
var catalogTemplateResource = new CatalogTemplate("catalogTemplateResource", CatalogTemplateArgs.builder()
.template("string")
.values("string")
.version("string")
.gvc("string")
.name("string")
.build());
catalog_template_resource = cpln.CatalogTemplate("catalogTemplateResource",
template="string",
values="string",
version="string",
gvc="string",
name="string")
const catalogTemplateResource = new cpln.CatalogTemplate("catalogTemplateResource", {
template: "string",
values: "string",
version: "string",
gvc: "string",
name: "string",
});
type: cpln:CatalogTemplate
properties:
gvc: string
name: string
template: string
values: string
version: string
CatalogTemplate 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 CatalogTemplate resource accepts the following input properties:
- Template string
- The name of the catalog template to deploy (e.g., 'postgres', 'nginx', 'redis').
- Values string
- The values file content (YAML format) for customizing the template deployment.
- Version string
- The version of the catalog template to deploy.
- Gvc string
- The GVC where the template will be deployed. Leave empty if the template creates its own GVC (check template's createsGvc field).
- Name string
- The release name for this catalog release.
- Template string
- The name of the catalog template to deploy (e.g., 'postgres', 'nginx', 'redis').
- Values string
- The values file content (YAML format) for customizing the template deployment.
- Version string
- The version of the catalog template to deploy.
- Gvc string
- The GVC where the template will be deployed. Leave empty if the template creates its own GVC (check template's createsGvc field).
- Name string
- The release name for this catalog release.
- template String
- The name of the catalog template to deploy (e.g., 'postgres', 'nginx', 'redis').
- values String
- The values file content (YAML format) for customizing the template deployment.
- version String
- The version of the catalog template to deploy.
- gvc String
- The GVC where the template will be deployed. Leave empty if the template creates its own GVC (check template's createsGvc field).
- name String
- The release name for this catalog release.
- template string
- The name of the catalog template to deploy (e.g., 'postgres', 'nginx', 'redis').
- values string
- The values file content (YAML format) for customizing the template deployment.
- version string
- The version of the catalog template to deploy.
- gvc string
- The GVC where the template will be deployed. Leave empty if the template creates its own GVC (check template's createsGvc field).
- name string
- The release name for this catalog release.
- template str
- The name of the catalog template to deploy (e.g., 'postgres', 'nginx', 'redis').
- values str
- The values file content (YAML format) for customizing the template deployment.
- version str
- The version of the catalog template to deploy.
- gvc str
- The GVC where the template will be deployed. Leave empty if the template creates its own GVC (check template's createsGvc field).
- name str
- The release name for this catalog release.
- template String
- The name of the catalog template to deploy (e.g., 'postgres', 'nginx', 'redis').
- values String
- The values file content (YAML format) for customizing the template deployment.
- version String
- The version of the catalog template to deploy.
- gvc String
- The GVC where the template will be deployed. Leave empty if the template creates its own GVC (check template's createsGvc field).
- name String
- The release name for this catalog release.
Outputs
All input properties are implicitly available as output properties. Additionally, the CatalogTemplate resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Resources
List<Pulumiverse.
Cpln. Outputs. Catalog Template Resource> - List of Control Plane resources created by this release. Populated from the helm release secret.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resources
[]Catalog
Template Resource - List of Control Plane resources created by this release. Populated from the helm release secret.
- id String
- The provider-assigned unique ID for this managed resource.
- resources
List<Catalog
Template Resource> - List of Control Plane resources created by this release. Populated from the helm release secret.
- id string
- The provider-assigned unique ID for this managed resource.
- resources
Catalog
Template Resource[] - List of Control Plane resources created by this release. Populated from the helm release secret.
- id str
- The provider-assigned unique ID for this managed resource.
- resources
Sequence[Catalog
Template Resource] - List of Control Plane resources created by this release. Populated from the helm release secret.
- id String
- The provider-assigned unique ID for this managed resource.
- resources List<Property Map>
- List of Control Plane resources created by this release. Populated from the helm release secret.
Look up Existing CatalogTemplate Resource
Get an existing CatalogTemplate 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?: CatalogTemplateState, opts?: CustomResourceOptions): CatalogTemplate@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
gvc: Optional[str] = None,
name: Optional[str] = None,
resources: Optional[Sequence[CatalogTemplateResourceArgs]] = None,
template: Optional[str] = None,
values: Optional[str] = None,
version: Optional[str] = None) -> CatalogTemplatefunc GetCatalogTemplate(ctx *Context, name string, id IDInput, state *CatalogTemplateState, opts ...ResourceOption) (*CatalogTemplate, error)public static CatalogTemplate Get(string name, Input<string> id, CatalogTemplateState? state, CustomResourceOptions? opts = null)public static CatalogTemplate get(String name, Output<String> id, CatalogTemplateState state, CustomResourceOptions options)resources: _: type: cpln:CatalogTemplate 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.
- Gvc string
- The GVC where the template will be deployed. Leave empty if the template creates its own GVC (check template's createsGvc field).
- Name string
- The release name for this catalog release.
- Resources
List<Pulumiverse.
Cpln. Inputs. Catalog Template Resource> - List of Control Plane resources created by this release. Populated from the helm release secret.
- Template string
- The name of the catalog template to deploy (e.g., 'postgres', 'nginx', 'redis').
- Values string
- The values file content (YAML format) for customizing the template deployment.
- Version string
- The version of the catalog template to deploy.
- Gvc string
- The GVC where the template will be deployed. Leave empty if the template creates its own GVC (check template's createsGvc field).
- Name string
- The release name for this catalog release.
- Resources
[]Catalog
Template Resource Args - List of Control Plane resources created by this release. Populated from the helm release secret.
- Template string
- The name of the catalog template to deploy (e.g., 'postgres', 'nginx', 'redis').
- Values string
- The values file content (YAML format) for customizing the template deployment.
- Version string
- The version of the catalog template to deploy.
- gvc String
- The GVC where the template will be deployed. Leave empty if the template creates its own GVC (check template's createsGvc field).
- name String
- The release name for this catalog release.
- resources
List<Catalog
Template Resource> - List of Control Plane resources created by this release. Populated from the helm release secret.
- template String
- The name of the catalog template to deploy (e.g., 'postgres', 'nginx', 'redis').
- values String
- The values file content (YAML format) for customizing the template deployment.
- version String
- The version of the catalog template to deploy.
- gvc string
- The GVC where the template will be deployed. Leave empty if the template creates its own GVC (check template's createsGvc field).
- name string
- The release name for this catalog release.
- resources
Catalog
Template Resource[] - List of Control Plane resources created by this release. Populated from the helm release secret.
- template string
- The name of the catalog template to deploy (e.g., 'postgres', 'nginx', 'redis').
- values string
- The values file content (YAML format) for customizing the template deployment.
- version string
- The version of the catalog template to deploy.
- gvc str
- The GVC where the template will be deployed. Leave empty if the template creates its own GVC (check template's createsGvc field).
- name str
- The release name for this catalog release.
- resources
Sequence[Catalog
Template Resource Args] - List of Control Plane resources created by this release. Populated from the helm release secret.
- template str
- The name of the catalog template to deploy (e.g., 'postgres', 'nginx', 'redis').
- values str
- The values file content (YAML format) for customizing the template deployment.
- version str
- The version of the catalog template to deploy.
- gvc String
- The GVC where the template will be deployed. Leave empty if the template creates its own GVC (check template's createsGvc field).
- name String
- The release name for this catalog release.
- resources List<Property Map>
- List of Control Plane resources created by this release. Populated from the helm release secret.
- template String
- The name of the catalog template to deploy (e.g., 'postgres', 'nginx', 'redis').
- values String
- The values file content (YAML format) for customizing the template deployment.
- version String
- The version of the catalog template to deploy.
Supporting Types
CatalogTemplateResource, CatalogTemplateResourceArgs
Package Details
- Repository
- cpln pulumiverse/pulumi-cpln
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cplnTerraform Provider.
