Documentation ¶
Index ¶
- type Cluster
- func (r *Cluster) ApiAddress() *pulumi.StringOutput
- func (r *Cluster) ClusterTemplateId() *pulumi.StringOutput
- func (r *Cluster) CoeVersion() *pulumi.StringOutput
- func (r *Cluster) ContainerVersion() *pulumi.StringOutput
- func (r *Cluster) CreateTimeout() *pulumi.IntOutput
- func (r *Cluster) CreatedAt() *pulumi.StringOutput
- func (r *Cluster) DiscoveryUrl() *pulumi.StringOutput
- func (r *Cluster) DockerVolumeSize() *pulumi.IntOutput
- func (r *Cluster) Flavor() *pulumi.StringOutput
- func (r *Cluster) ID() *pulumi.IDOutput
- func (r *Cluster) Keypair() *pulumi.StringOutput
- func (r *Cluster) Labels() *pulumi.MapOutput
- func (r *Cluster) MasterAddresses() *pulumi.StringOutput
- func (r *Cluster) MasterCount() *pulumi.IntOutput
- func (r *Cluster) MasterFlavor() *pulumi.StringOutput
- func (r *Cluster) Name() *pulumi.StringOutput
- func (r *Cluster) NodeAddresses() *pulumi.StringOutput
- func (r *Cluster) NodeCount() *pulumi.IntOutput
- func (r *Cluster) ProjectId() *pulumi.StringOutput
- func (r *Cluster) Region() *pulumi.StringOutput
- func (r *Cluster) StackId() *pulumi.StringOutput
- func (r *Cluster) URN() *pulumi.URNOutput
- func (r *Cluster) UpdatedAt() *pulumi.StringOutput
- func (r *Cluster) UserId() *pulumi.StringOutput
- type ClusterArgs
- type ClusterState
- type ClusterTemplate
- func (r *ClusterTemplate) ApiserverPort() *pulumi.IntOutput
- func (r *ClusterTemplate) ClusterDistro() *pulumi.StringOutput
- func (r *ClusterTemplate) Coe() *pulumi.StringOutput
- func (r *ClusterTemplate) CreatedAt() *pulumi.StringOutput
- func (r *ClusterTemplate) DnsNameserver() *pulumi.StringOutput
- func (r *ClusterTemplate) DockerStorageDriver() *pulumi.StringOutput
- func (r *ClusterTemplate) DockerVolumeSize() *pulumi.IntOutput
- func (r *ClusterTemplate) ExternalNetworkId() *pulumi.StringOutput
- func (r *ClusterTemplate) FixedNetwork() *pulumi.StringOutput
- func (r *ClusterTemplate) FixedSubnet() *pulumi.StringOutput
- func (r *ClusterTemplate) Flavor() *pulumi.StringOutput
- func (r *ClusterTemplate) FloatingIpEnabled() *pulumi.BoolOutput
- func (r *ClusterTemplate) HttpProxy() *pulumi.StringOutput
- func (r *ClusterTemplate) HttpsProxy() *pulumi.StringOutput
- func (r *ClusterTemplate) ID() *pulumi.IDOutput
- func (r *ClusterTemplate) Image() *pulumi.StringOutput
- func (r *ClusterTemplate) InsecureRegistry() *pulumi.StringOutput
- func (r *ClusterTemplate) KeypairId() *pulumi.StringOutput
- func (r *ClusterTemplate) Labels() *pulumi.MapOutput
- func (r *ClusterTemplate) MasterFlavor() *pulumi.StringOutput
- func (r *ClusterTemplate) MasterLbEnabled() *pulumi.BoolOutput
- func (r *ClusterTemplate) Name() *pulumi.StringOutput
- func (r *ClusterTemplate) NetworkDriver() *pulumi.StringOutput
- func (r *ClusterTemplate) NoProxy() *pulumi.StringOutput
- func (r *ClusterTemplate) ProjectId() *pulumi.StringOutput
- func (r *ClusterTemplate) Public() *pulumi.BoolOutput
- func (r *ClusterTemplate) Region() *pulumi.StringOutput
- func (r *ClusterTemplate) RegistryEnabled() *pulumi.BoolOutput
- func (r *ClusterTemplate) ServerType() *pulumi.StringOutput
- func (r *ClusterTemplate) TlsDisabled() *pulumi.BoolOutput
- func (r *ClusterTemplate) URN() *pulumi.URNOutput
- func (r *ClusterTemplate) UpdatedAt() *pulumi.StringOutput
- func (r *ClusterTemplate) UserId() *pulumi.StringOutput
- func (r *ClusterTemplate) VolumeDriver() *pulumi.StringOutput
- type ClusterTemplateArgs
- type ClusterTemplateState
- type GetClusterArgs
- type GetClusterResult
- type GetClusterTemplateArgs
- type GetClusterTemplateResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
Manages a V1 Magnum cluster resource within OpenStack.
## Argument reference
The following arguments are supported:
- `region` - (Optional) The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster. If omitted, the `region` argument of the provider is used. Changing this creates a new cluster.
- `name` - (Required) The name of the cluster. Changing this updates the name of the existing cluster template.
- `project_id` - (Optional) The project of the cluster. Required if admin wants to create a cluster in another project. Changing this creates a new cluster.
- `user_id` - (Optional) The user of the cluster. Required if admin wants to create a cluster template for another user. Changing this creates a new cluster.
- `cluster_template_id` - (Required) The UUID of the V1 Container Infra cluster template. Changing this creates a new cluster.
- `create_timeout` - (Optional) The timeout (in minutes) for creating the cluster. Changing this creates a new cluster.
- `discovery_url` - (Optional) The URL used for cluster node discovery. Changing this creates a new cluster.
- `docker_volume_size` - (Optional) The size (in GB) of the Docker volume. Changing this creates a new cluster.
- `flavor` - (Optional) The flavor for the nodes of the cluster. Can be set via the `OS_MAGNUM_FLAVOR` environment variable. Changing this creates a new cluster.
- `master_flavor` - (Optional) The flavor for the master nodes. Can be set via the `OS_MAGNUM_MASTER_FLAVOR` environment variable. Changing this creates a new cluster.
- `keypair` - (Optional) The name of the Compute service SSH keypair. Changing this creates a new cluster.
- `labels` - (Optional) The list of key value pairs representing additional properties of the cluster. Changing this creates a new cluster.
- `master_count` - (Optional) The number of master nodes for the cluster. Changing this creates a new cluster.
- `node_count` - (Optional) The number of nodes for the cluster. Changing this creates a new cluster.
## Attributes reference
The following attributes are exported:
* `region` - See Argument Reference above. * `name` - See Argument Reference above. * `project_id` - See Argument Reference above. * `created_at` - The time at which cluster was created. * `updated_at` - The time at which cluster was created. * `api_address` - COE API address. * `coe_version` - COE software version. * `cluster_template_id` - See Argument Reference above. * `container_version` - Container software version. * `create_timeout` - See Argument Reference above. * `discovery_url` - See Argument Reference above. * `docker_volume_size` - See Argument Reference above. * `flavor` - See Argument Reference above. * `master_flavor` - See Argument Reference above. * `keypair` - See Argument Reference above. * `labels` - See Argument Reference above. * `master_count` - See Argument Reference above. * `node_count` - See Argument Reference above. * `master_addresses` - IP addresses of the master node of the cluster. * `node_addresses` - IP addresses of the node of the cluster. * `stack_id` - UUID of the Orchestration service stack.
func GetCluster ¶
func GetCluster(ctx *pulumi.Context, name string, id pulumi.ID, state *ClusterState, opts ...pulumi.ResourceOpt) (*Cluster, error)
GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCluster ¶
func NewCluster(ctx *pulumi.Context, name string, args *ClusterArgs, opts ...pulumi.ResourceOpt) (*Cluster, error)
NewCluster registers a new resource with the given unique name, arguments, and options.
func (*Cluster) ApiAddress ¶
func (r *Cluster) ApiAddress() *pulumi.StringOutput
func (*Cluster) ClusterTemplateId ¶
func (r *Cluster) ClusterTemplateId() *pulumi.StringOutput
func (*Cluster) CoeVersion ¶
func (r *Cluster) CoeVersion() *pulumi.StringOutput
func (*Cluster) ContainerVersion ¶
func (r *Cluster) ContainerVersion() *pulumi.StringOutput
func (*Cluster) CreateTimeout ¶
func (*Cluster) CreatedAt ¶
func (r *Cluster) CreatedAt() *pulumi.StringOutput
func (*Cluster) DiscoveryUrl ¶
func (r *Cluster) DiscoveryUrl() *pulumi.StringOutput
func (*Cluster) DockerVolumeSize ¶
func (*Cluster) Flavor ¶
func (r *Cluster) Flavor() *pulumi.StringOutput
func (*Cluster) Keypair ¶
func (r *Cluster) Keypair() *pulumi.StringOutput
func (*Cluster) MasterAddresses ¶
func (r *Cluster) MasterAddresses() *pulumi.StringOutput
func (*Cluster) MasterCount ¶
func (*Cluster) MasterFlavor ¶
func (r *Cluster) MasterFlavor() *pulumi.StringOutput
func (*Cluster) Name ¶
func (r *Cluster) Name() *pulumi.StringOutput
func (*Cluster) NodeAddresses ¶
func (r *Cluster) NodeAddresses() *pulumi.StringOutput
func (*Cluster) ProjectId ¶
func (r *Cluster) ProjectId() *pulumi.StringOutput
func (*Cluster) Region ¶
func (r *Cluster) Region() *pulumi.StringOutput
func (*Cluster) StackId ¶
func (r *Cluster) StackId() *pulumi.StringOutput
func (*Cluster) UpdatedAt ¶
func (r *Cluster) UpdatedAt() *pulumi.StringOutput
func (*Cluster) UserId ¶
func (r *Cluster) UserId() *pulumi.StringOutput
type ClusterArgs ¶
type ClusterArgs struct { ClusterTemplateId interface{} CreateTimeout interface{} DiscoveryUrl interface{} DockerVolumeSize interface{} Flavor interface{} Keypair interface{} Labels interface{} MasterCount interface{} MasterFlavor interface{} Name interface{} NodeCount interface{} Region interface{} }
The set of arguments for constructing a Cluster resource.
type ClusterState ¶
type ClusterState struct { ApiAddress interface{} ClusterTemplateId interface{} CoeVersion interface{} ContainerVersion interface{} CreateTimeout interface{} CreatedAt interface{} DiscoveryUrl interface{} DockerVolumeSize interface{} Flavor interface{} Keypair interface{} Labels interface{} MasterAddresses interface{} MasterCount interface{} MasterFlavor interface{} Name interface{} NodeAddresses interface{} NodeCount interface{} ProjectId interface{} Region interface{} StackId interface{} UpdatedAt interface{} UserId interface{} }
Input properties used for looking up and filtering Cluster resources.
type ClusterTemplate ¶
type ClusterTemplate struct {
// contains filtered or unexported fields
}
Manages a V1 Magnum cluster template resource within OpenStack.
## Argument reference
The following arguments are supported:
- `region` - (Optional) The region in which to obtain the V1 Container Infra client. A Container Infra client is needed to create a cluster template. If omitted,the `region` argument of the provider is used. Changing this creates a new cluster template.
- `name` - (Required) The name of the cluster template. Changing this updates the name of the existing cluster template.
- `project_id` - (Optional) The project of the cluster template. Required if admin wants to create a cluster template in another project. Changing this creates a new cluster template.
- `user_id` - (Optional) The user of the cluster template. Required if admin wants to create a cluster template for another user. Changing this creates a new cluster template.
- `apiserver_port` - (Optional) The API server port for the Container Orchestration Engine for this cluster template. Changing this updates the API server port of the existing cluster template.
- `coe` - (Required) The Container Orchestration Engine for this cluster template. Changing this updates the engine of the existing cluster template.
- `cluster_distro` - (Optional) The distro for the cluster (fedora-atomic, coreos, etc.). Changing this updates the cluster distro of the existing cluster template.
- `dns_nameserver` - (Optional) Address of the DNS nameserver that is used in nodes of the cluster. Changing this updates the DNS nameserver of the existing cluster template.
- `docker_storage_driver` - (Optional) Docker storage driver. Changing this updates the Docker storage driver of the existing cluster template.
- `docker_volume_size` - (Optional) The size (in GB) of the Docker volume. Changing this updates the Docker volume size of the existing cluster template.
- `external_network_id` - (Optional) The ID of the external network that will be used for the cluster. Changing this updates the external network ID of the existing cluster template.
- `fixed_network` - (Optional) The fixed network that will be attached to the cluster. Changing this updates the fixed network of the existing cluster template.
- `fixed_subnet` - (Optional) The fixed subnet that will be attached to the cluster. Changing this updates the fixed subnet of the existing cluster template.
- `flavor` - (Optional) The flavor for the nodes of the cluster. Can be set via the `OS_MAGNUM_FLAVOR` environment variable. Changing this updates the flavor of the existing cluster template.
- `master_flavor` - (Optional) The flavor for the master nodes. Can be set via the `OS_MAGNUM_MASTER_FLAVOR` environment variable. Changing this updates the master flavor of the existing cluster template.
- `floating_ip_enabled` - (Optional) Indicates whether created cluster should create floating IP for every node or not. Changing this updates the floating IP enabled attribute of the existing cluster template.
- `http_proxy` - (Optional) The address of a proxy for receiving all HTTP requests and relay them. Changing this updates the HTTP proxy address of the existing cluster template.
- `https_proxy` - (Optional) The address of a proxy for receiving all HTTPS requests and relay them. Changing this updates the HTTPS proxy address of the existing cluster template.
- `image` - (Required) The reference to an image that is used for nodes of the cluster. Can be set via the `OS_MAGNUM_IMAGE` environment variable. Changing this updates the image attribute of the existing cluster template.
- `insecure_registry` - (Optional) The insecure registry URL for the cluster template. Changing this updates the insecure registry attribute of the existing cluster template.
- `keypair_id` - (Optional) The name of the Compute service SSH keypair. Changing this updates the keypair of the existing cluster template.
- `labels` - (Optional) The list of key value pairs representing additional properties of the cluster template. Changing this updates the labels of the existing cluster template.
- `master_lb_enabled` - (Optional) Indicates whether created cluster should has a loadbalancer for master nodes or not. Changing this updates the attribute of the existing cluster template.
- `network_driver` - (Optional) The name of the driver for the container network. Changing this updates the network driver of the existing cluster template.
- `no_proxy` - (Optional) A comma-separated list of IP addresses that shouldn't be used in the cluster. Changing this updates the no proxy list of the existing cluster template.
- `public` - (Optional) Indicates whether cluster template should be public. Changing this updates the public attribute of the existing cluster template.
- `registry_enabled` - (Optional) Indicates whether Docker registry is enabled in the cluster. Changing this updates the registry enabled attribute of the existing cluster template.
- `server_type` - (Optional) The server type for the cluster template. Changing this updates the server type of the existing cluster template.
- `tls_disabled` - (Optional) Indicates whether the TLS should be disabled in the cluster. Changing this updates the attribute of the existing cluster.
- `volume_driver` - (Optional) The name of the driver that is used for the volumes of the cluster nodes. Changing this updates the volume driver of the existing cluster template.
## Attributes reference
The following attributes are exported:
* `region` - See Argument Reference above. * `name` - See Argument Reference above. * `project_id` - See Argument Reference above. * `created_at` - The time at which cluster template was created. * `updated_at` - The time at which cluster template was created. * `apiserver_port` - See Argument Reference above. * `coe` - See Argument Reference above. * `cluster_distro` - See Argument Reference above. * `dns_nameserver` - See Argument Reference above. * `docker_storage_driver` - See Argument Reference above. * `docker_volume_size` - See Argument Reference above. * `external_network_id` - See Argument Reference above. * `fixed_network` - See Argument Reference above. * `fixed_subnet` - See Argument Reference above. * `flavor` - See Argument Reference above. * `master_flavor` - See Argument Reference above. * `floating_ip_enabled` - See Argument Reference above. * `http_proxy` - See Argument Reference above. * `https_proxy` - See Argument Reference above. * `image` - See Argument Reference above. * `insecure_registry` - See Argument Reference above. * `keypair_id` - See Argument Reference above. * `labels` - See Argument Reference above. * `links` - A list containing associated cluster template links. * `master_lb_enabled` - See Argument Reference above. * `network_driver` - See Argument Reference above. * `no_proxy` - See Argument Reference above. * `public` - See Argument Reference above. * `registry_enabled` - See Argument Reference above. * `server_type` - See Argument Reference above. * `tls_disabled` - See Argument Reference above. * `volume_driver` - See Argument Reference above.
func GetClusterTemplate ¶
func GetClusterTemplate(ctx *pulumi.Context, name string, id pulumi.ID, state *ClusterTemplateState, opts ...pulumi.ResourceOpt) (*ClusterTemplate, error)
GetClusterTemplate gets an existing ClusterTemplate resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewClusterTemplate ¶
func NewClusterTemplate(ctx *pulumi.Context, name string, args *ClusterTemplateArgs, opts ...pulumi.ResourceOpt) (*ClusterTemplate, error)
NewClusterTemplate registers a new resource with the given unique name, arguments, and options.
func (*ClusterTemplate) ApiserverPort ¶
func (r *ClusterTemplate) ApiserverPort() *pulumi.IntOutput
func (*ClusterTemplate) ClusterDistro ¶
func (r *ClusterTemplate) ClusterDistro() *pulumi.StringOutput
func (*ClusterTemplate) Coe ¶
func (r *ClusterTemplate) Coe() *pulumi.StringOutput
func (*ClusterTemplate) CreatedAt ¶
func (r *ClusterTemplate) CreatedAt() *pulumi.StringOutput
func (*ClusterTemplate) DnsNameserver ¶
func (r *ClusterTemplate) DnsNameserver() *pulumi.StringOutput
func (*ClusterTemplate) DockerStorageDriver ¶
func (r *ClusterTemplate) DockerStorageDriver() *pulumi.StringOutput
func (*ClusterTemplate) DockerVolumeSize ¶
func (r *ClusterTemplate) DockerVolumeSize() *pulumi.IntOutput
func (*ClusterTemplate) ExternalNetworkId ¶
func (r *ClusterTemplate) ExternalNetworkId() *pulumi.StringOutput
func (*ClusterTemplate) FixedNetwork ¶
func (r *ClusterTemplate) FixedNetwork() *pulumi.StringOutput
func (*ClusterTemplate) FixedSubnet ¶
func (r *ClusterTemplate) FixedSubnet() *pulumi.StringOutput
func (*ClusterTemplate) Flavor ¶
func (r *ClusterTemplate) Flavor() *pulumi.StringOutput
func (*ClusterTemplate) FloatingIpEnabled ¶
func (r *ClusterTemplate) FloatingIpEnabled() *pulumi.BoolOutput
func (*ClusterTemplate) HttpProxy ¶
func (r *ClusterTemplate) HttpProxy() *pulumi.StringOutput
func (*ClusterTemplate) HttpsProxy ¶
func (r *ClusterTemplate) HttpsProxy() *pulumi.StringOutput
func (*ClusterTemplate) ID ¶
func (r *ClusterTemplate) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ClusterTemplate) Image ¶
func (r *ClusterTemplate) Image() *pulumi.StringOutput
func (*ClusterTemplate) InsecureRegistry ¶
func (r *ClusterTemplate) InsecureRegistry() *pulumi.StringOutput
func (*ClusterTemplate) KeypairId ¶
func (r *ClusterTemplate) KeypairId() *pulumi.StringOutput
func (*ClusterTemplate) Labels ¶
func (r *ClusterTemplate) Labels() *pulumi.MapOutput
func (*ClusterTemplate) MasterFlavor ¶
func (r *ClusterTemplate) MasterFlavor() *pulumi.StringOutput
func (*ClusterTemplate) MasterLbEnabled ¶
func (r *ClusterTemplate) MasterLbEnabled() *pulumi.BoolOutput
func (*ClusterTemplate) Name ¶
func (r *ClusterTemplate) Name() *pulumi.StringOutput
func (*ClusterTemplate) NetworkDriver ¶
func (r *ClusterTemplate) NetworkDriver() *pulumi.StringOutput
func (*ClusterTemplate) NoProxy ¶
func (r *ClusterTemplate) NoProxy() *pulumi.StringOutput
func (*ClusterTemplate) ProjectId ¶
func (r *ClusterTemplate) ProjectId() *pulumi.StringOutput
func (*ClusterTemplate) Public ¶
func (r *ClusterTemplate) Public() *pulumi.BoolOutput
func (*ClusterTemplate) Region ¶
func (r *ClusterTemplate) Region() *pulumi.StringOutput
func (*ClusterTemplate) RegistryEnabled ¶
func (r *ClusterTemplate) RegistryEnabled() *pulumi.BoolOutput
func (*ClusterTemplate) ServerType ¶
func (r *ClusterTemplate) ServerType() *pulumi.StringOutput
func (*ClusterTemplate) TlsDisabled ¶
func (r *ClusterTemplate) TlsDisabled() *pulumi.BoolOutput
func (*ClusterTemplate) URN ¶
func (r *ClusterTemplate) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*ClusterTemplate) UpdatedAt ¶
func (r *ClusterTemplate) UpdatedAt() *pulumi.StringOutput
func (*ClusterTemplate) UserId ¶
func (r *ClusterTemplate) UserId() *pulumi.StringOutput
func (*ClusterTemplate) VolumeDriver ¶
func (r *ClusterTemplate) VolumeDriver() *pulumi.StringOutput
type ClusterTemplateArgs ¶
type ClusterTemplateArgs struct { ApiserverPort interface{} ClusterDistro interface{} Coe interface{} DnsNameserver interface{} DockerStorageDriver interface{} DockerVolumeSize interface{} ExternalNetworkId interface{} FixedNetwork interface{} FixedSubnet interface{} Flavor interface{} FloatingIpEnabled interface{} HttpProxy interface{} HttpsProxy interface{} Image interface{} InsecureRegistry interface{} KeypairId interface{} Labels interface{} MasterFlavor interface{} MasterLbEnabled interface{} Name interface{} NetworkDriver interface{} NoProxy interface{} Public interface{} Region interface{} RegistryEnabled interface{} ServerType interface{} TlsDisabled interface{} VolumeDriver interface{} }
The set of arguments for constructing a ClusterTemplate resource.
type ClusterTemplateState ¶
type ClusterTemplateState struct { ApiserverPort interface{} ClusterDistro interface{} Coe interface{} CreatedAt interface{} DnsNameserver interface{} DockerStorageDriver interface{} DockerVolumeSize interface{} ExternalNetworkId interface{} FixedNetwork interface{} FixedSubnet interface{} Flavor interface{} FloatingIpEnabled interface{} HttpProxy interface{} HttpsProxy interface{} Image interface{} InsecureRegistry interface{} KeypairId interface{} Labels interface{} MasterFlavor interface{} MasterLbEnabled interface{} Name interface{} NetworkDriver interface{} NoProxy interface{} ProjectId interface{} Public interface{} Region interface{} RegistryEnabled interface{} ServerType interface{} TlsDisabled interface{} UpdatedAt interface{} UserId interface{} VolumeDriver interface{} }
Input properties used for looking up and filtering ClusterTemplate resources.
type GetClusterArgs ¶ added in v0.16.4
type GetClusterArgs struct { // The name of the cluster. Name interface{} // The region in which to obtain the V1 Container Infra // client. // If omitted, the `region` argument of the provider is used. Region interface{} }
A collection of arguments for invoking getCluster.
type GetClusterResult ¶ added in v0.16.4
type GetClusterResult struct { // COE API address. ApiAddress interface{} // The UUID of the V1 Container Infra cluster template. ClusterTemplateId interface{} // COE software version. CoeVersion interface{} ContainerVersion interface{} // The timeout (in minutes) for creating the cluster. CreateTimeout interface{} // The time at which cluster was created. CreatedAt interface{} // The URL used for cluster node discovery. DiscoveryUrl interface{} // The size (in GB) of the Docker volume. DockerVolumeSize interface{} // The flavor for the nodes of the cluster. Flavor interface{} // The name of the Compute service SSH keypair. Keypair interface{} // The list of key value pairs representing additional properties of // the cluster. Labels interface{} // IP addresses of the master node of the cluster. MasterAddresses interface{} // The number of master nodes for the cluster. MasterCount interface{} // The flavor for the master nodes. MasterFlavor interface{} // IP addresses of the node of the cluster. NodeAddresses interface{} // The number of nodes for the cluster. NodeCount interface{} // The project of the cluster. ProjectId interface{} // See Argument Reference above. Region interface{} // UUID of the Orchestration service stack. StackId interface{} // The time at which cluster was updated. UpdatedAt interface{} // The user of the cluster. UserId interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getCluster.
func LookupCluster ¶ added in v0.16.4
func LookupCluster(ctx *pulumi.Context, args *GetClusterArgs) (*GetClusterResult, error)
Use this data source to get the ID of an available OpenStack Magnum cluster.
type GetClusterTemplateArgs ¶
type GetClusterTemplateArgs struct { // The name of the cluster template. Name interface{} // The region in which to obtain the V1 Container Infra // client. // If omitted, the `region` argument of the provider is used. Region interface{} }
A collection of arguments for invoking getClusterTemplate.
type GetClusterTemplateResult ¶
type GetClusterTemplateResult struct { // The API server port for the Container Orchestration // Engine for this cluster template. ApiserverPort interface{} // The distro for the cluster (fedora-atomic, coreos, etc.). ClusterDistro interface{} // The Container Orchestration Engine for this cluster template. Coe interface{} // The time at which cluster template was created. CreatedAt interface{} // Address of the DNS nameserver that is used in nodes of the // cluster. DnsNameserver interface{} // Docker storage driver. Changing this updates the // Docker storage driver of the existing cluster template. DockerStorageDriver interface{} // The size (in GB) of the Docker volume. DockerVolumeSize interface{} // The ID of the external network that will be used for // the cluster. ExternalNetworkId interface{} // The fixed network that will be attached to the cluster. FixedNetwork interface{} // =The fixed subnet that will be attached to the cluster. FixedSubnet interface{} // The flavor for the nodes of the cluster. Flavor interface{} // Indicates whether created cluster should create IP // floating IP for every node or not. FloatingIpEnabled interface{} // The address of a proxy for receiving all HTTP requests and // relay them. HttpProxy interface{} // The address of a proxy for receiving all HTTPS requests and // relay them. HttpsProxy interface{} // The reference to an image that is used for nodes of the cluster. Image interface{} // The insecure registry URL for the cluster template. InsecureRegistry interface{} // The name of the Compute service SSH keypair. KeypairId interface{} // The list of key value pairs representing additional properties // of the cluster template. Labels interface{} // The flavor for the master nodes. MasterFlavor interface{} // Indicates whether created cluster should has a // loadbalancer for master nodes or not. MasterLbEnabled interface{} // The name of the driver for the container network. NetworkDriver interface{} // A comma-separated list of IP addresses that shouldn't be used in // the cluster. NoProxy interface{} // The project of the cluster template. ProjectId interface{} // Indicates whether cluster template should be public. Public interface{} // See Argument Reference above. Region interface{} // Indicates whether Docker registry is enabled in the // cluster. RegistryEnabled interface{} // The server type for the cluster template. ServerType interface{} // Indicates whether the TLS should be disabled in the cluster. TlsDisabled interface{} // The time at which cluster template was updated. UpdatedAt interface{} // The user of the cluster template. UserId interface{} // The name of the driver that is used for the volumes of the // cluster nodes. VolumeDriver interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getClusterTemplate.
func LookupClusterTemplate ¶
func LookupClusterTemplate(ctx *pulumi.Context, args *GetClusterTemplateArgs) (*GetClusterTemplateResult, error)
Use this data source to get the ID of an available OpenStack Magnum cluster template.