GetClusterTemplate
Use this data source to get the ID of an available OpenStack Magnum cluster template.
Example Usage
using Pulumi;
using OpenStack = Pulumi.OpenStack;
class MyStack : Stack
{
public MyStack()
{
var clustertemplate1 = Output.Create(OpenStack.ContainerInfra.GetClusterTemplate.InvokeAsync(new OpenStack.ContainerInfra.GetClusterTemplateArgs
{
Name = "clustertemplate_1",
}));
}
}
Coming soon!
import pulumi
import pulumi_openstack as openstack
clustertemplate1 = openstack.containerinfra.get_cluster_template(name="clustertemplate_1")import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";
const clustertemplate1 = pulumi.output(openstack.containerinfra.getClusterTemplate({
name: "clustertemplate_1",
}, { async: true }));Using GetClusterTemplate
function getClusterTemplate(args: GetClusterTemplateArgs, opts?: InvokeOptions): Promise<GetClusterTemplateResult>function get_cluster_template(name=None, region=None, opts=None)func LookupClusterTemplate(ctx *Context, args *LookupClusterTemplateArgs, opts ...InvokeOption) (*LookupClusterTemplateResult, error)Note: This function is named
LookupClusterTemplatein the Go SDK.
public static class GetClusterTemplate {
public static Task<GetClusterTemplateResult> InvokeAsync(GetClusterTemplateArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
GetClusterTemplate Result
The following output properties are available:
- Apiserver
Port int The API server port for the Container Orchestration Engine for this cluster template.
- Cluster
Distro string The distro for the cluster (fedora-atomic, coreos, etc.).
- Coe string
The Container Orchestration Engine for this cluster template.
- Created
At string The time at which cluster template was created.
- Dns
Nameserver string Address of the DNS nameserver that is used in nodes of the cluster.
- Docker
Storage stringDriver Docker storage driver. Changing this updates the Docker storage driver of the existing cluster template.
- Docker
Volume intSize The size (in GB) of the Docker volume.
- External
Network stringId The ID of the external network that will be used for the cluster.
- Fixed
Network string The fixed network that will be attached to the cluster.
- Fixed
Subnet string =The fixed subnet that will be attached to the cluster.
- Flavor string
The flavor for the nodes of the cluster.
- Floating
Ip boolEnabled Indicates whether created cluster should create IP floating IP for every node or not.
- Http
Proxy string The address of a proxy for receiving all HTTP requests and relay them.
- Https
Proxy string The address of a proxy for receiving all HTTPS requests and relay them.
- Id string
The provider-assigned unique ID for this managed resource.
- Image string
The reference to an image that is used for nodes of the cluster.
- Insecure
Registry string The insecure registry URL for the cluster template.
- Keypair
Id string The name of the Compute service SSH keypair.
- Labels Dictionary<string, object>
The list of key value pairs representing additional properties of the cluster template.
- Master
Flavor string The flavor for the master nodes.
- Master
Lb boolEnabled Indicates whether created cluster should has a loadbalancer for master nodes or not.
- Name string
See Argument Reference above.
- Network
Driver string The name of the driver for the container network.
- No
Proxy string A comma-separated list of IP addresses that shouldn’t be used in the cluster.
- Project
Id string The project of the cluster template.
- Public bool
Indicates whether cluster template should be public.
- Region string
See Argument Reference above.
- Registry
Enabled bool Indicates whether Docker registry is enabled in the cluster.
- Server
Type string The server type for the cluster template.
- Tls
Disabled bool Indicates whether the TLS should be disabled in the cluster.
- Updated
At string The time at which cluster template was updated.
- User
Id string The user of the cluster template.
- Volume
Driver string The name of the driver that is used for the volumes of the cluster nodes.
- Apiserver
Port int The API server port for the Container Orchestration Engine for this cluster template.
- Cluster
Distro string The distro for the cluster (fedora-atomic, coreos, etc.).
- Coe string
The Container Orchestration Engine for this cluster template.
- Created
At string The time at which cluster template was created.
- Dns
Nameserver string Address of the DNS nameserver that is used in nodes of the cluster.
- Docker
Storage stringDriver Docker storage driver. Changing this updates the Docker storage driver of the existing cluster template.
- Docker
Volume intSize The size (in GB) of the Docker volume.
- External
Network stringId The ID of the external network that will be used for the cluster.
- Fixed
Network string The fixed network that will be attached to the cluster.
- Fixed
Subnet string =The fixed subnet that will be attached to the cluster.
- Flavor string
The flavor for the nodes of the cluster.
- Floating
Ip boolEnabled Indicates whether created cluster should create IP floating IP for every node or not.
- Http
Proxy string The address of a proxy for receiving all HTTP requests and relay them.
- Https
Proxy string The address of a proxy for receiving all HTTPS requests and relay them.
- Id string
The provider-assigned unique ID for this managed resource.
- Image string
The reference to an image that is used for nodes of the cluster.
- Insecure
Registry string The insecure registry URL for the cluster template.
- Keypair
Id string The name of the Compute service SSH keypair.
- Labels map[string]interface{}
The list of key value pairs representing additional properties of the cluster template.
- Master
Flavor string The flavor for the master nodes.
- Master
Lb boolEnabled Indicates whether created cluster should has a loadbalancer for master nodes or not.
- Name string
See Argument Reference above.
- Network
Driver string The name of the driver for the container network.
- No
Proxy string A comma-separated list of IP addresses that shouldn’t be used in the cluster.
- Project
Id string The project of the cluster template.
- Public bool
Indicates whether cluster template should be public.
- Region string
See Argument Reference above.
- Registry
Enabled bool Indicates whether Docker registry is enabled in the cluster.
- Server
Type string The server type for the cluster template.
- Tls
Disabled bool Indicates whether the TLS should be disabled in the cluster.
- Updated
At string The time at which cluster template was updated.
- User
Id string The user of the cluster template.
- Volume
Driver string The name of the driver that is used for the volumes of the cluster nodes.
- apiserver
Port number The API server port for the Container Orchestration Engine for this cluster template.
- cluster
Distro string The distro for the cluster (fedora-atomic, coreos, etc.).
- coe string
The Container Orchestration Engine for this cluster template.
- created
At string The time at which cluster template was created.
- dns
Nameserver string Address of the DNS nameserver that is used in nodes of the cluster.
- docker
Storage stringDriver Docker storage driver. Changing this updates the Docker storage driver of the existing cluster template.
- docker
Volume numberSize The size (in GB) of the Docker volume.
- external
Network stringId The ID of the external network that will be used for the cluster.
- fixed
Network string The fixed network that will be attached to the cluster.
- fixed
Subnet string =The fixed subnet that will be attached to the cluster.
- flavor string
The flavor for the nodes of the cluster.
- floating
Ip booleanEnabled Indicates whether created cluster should create IP floating IP for every node or not.
- http
Proxy string The address of a proxy for receiving all HTTP requests and relay them.
- https
Proxy string The address of a proxy for receiving all HTTPS requests and relay them.
- id string
The provider-assigned unique ID for this managed resource.
- image string
The reference to an image that is used for nodes of the cluster.
- insecure
Registry string The insecure registry URL for the cluster template.
- keypair
Id string The name of the Compute service SSH keypair.
- labels {[key: string]: any}
The list of key value pairs representing additional properties of the cluster template.
- master
Flavor string The flavor for the master nodes.
- master
Lb booleanEnabled Indicates whether created cluster should has a loadbalancer for master nodes or not.
- name string
See Argument Reference above.
- network
Driver string The name of the driver for the container network.
- no
Proxy string A comma-separated list of IP addresses that shouldn’t be used in the cluster.
- project
Id string The project of the cluster template.
- public boolean
Indicates whether cluster template should be public.
- region string
See Argument Reference above.
- registry
Enabled boolean Indicates whether Docker registry is enabled in the cluster.
- server
Type string The server type for the cluster template.
- tls
Disabled boolean Indicates whether the TLS should be disabled in the cluster.
- updated
At string The time at which cluster template was updated.
- user
Id string The user of the cluster template.
- volume
Driver string The name of the driver that is used for the volumes of the cluster nodes.
- apiserver_
port float The API server port for the Container Orchestration Engine for this cluster template.
- cluster_
distro str The distro for the cluster (fedora-atomic, coreos, etc.).
- coe str
The Container Orchestration Engine for this cluster template.
- created_
at str The time at which cluster template was created.
- dns_
nameserver str Address of the DNS nameserver that is used in nodes of the cluster.
- docker_
storage_ strdriver Docker storage driver. Changing this updates the Docker storage driver of the existing cluster template.
- docker_
volume_ floatsize The size (in GB) of the Docker volume.
- external_
network_ strid The ID of the external network that will be used for the cluster.
- fixed_
network str The fixed network that will be attached to the cluster.
- fixed_
subnet str =The fixed subnet that will be attached to the cluster.
- flavor str
The flavor for the nodes of the cluster.
- floating_
ip_ boolenabled Indicates whether created cluster should create IP floating IP for every node or not.
- http_
proxy str The address of a proxy for receiving all HTTP requests and relay them.
- https_
proxy str The address of a proxy for receiving all HTTPS requests and relay them.
- id str
The provider-assigned unique ID for this managed resource.
- image str
The reference to an image that is used for nodes of the cluster.
- insecure_
registry str The insecure registry URL for the cluster template.
- keypair_
id str The name of the Compute service SSH keypair.
- labels Dict[str, Any]
The list of key value pairs representing additional properties of the cluster template.
- master_
flavor str The flavor for the master nodes.
- master_
lb_ boolenabled Indicates whether created cluster should has a loadbalancer for master nodes or not.
- name str
See Argument Reference above.
- network_
driver str The name of the driver for the container network.
- no_
proxy str A comma-separated list of IP addresses that shouldn’t be used in the cluster.
- project_
id str The project of the cluster template.
- public bool
Indicates whether cluster template should be public.
- region str
See Argument Reference above.
- registry_
enabled bool Indicates whether Docker registry is enabled in the cluster.
- server_
type str The server type for the cluster template.
- tls_
disabled bool Indicates whether the TLS should be disabled in the cluster.
- updated_
at str The time at which cluster template was updated.
- user_
id str The user of the cluster template.
- volume_
driver str The name of the driver that is used for the volumes of the cluster nodes.
Package Details
- Repository
- https://github.com/pulumi/pulumi-openstack
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
openstackTerraform Provider.