vSphere

v4.3.0 published on Monday, Jun 27, 2022 by Pulumi

ComputeClusterHostGroup

Create a ComputeClusterHostGroup Resource

new ComputeClusterHostGroup(name: string, args: ComputeClusterHostGroupArgs, opts?: CustomResourceOptions);
@overload
def ComputeClusterHostGroup(resource_name: str,
                            opts: Optional[ResourceOptions] = None,
                            compute_cluster_id: Optional[str] = None,
                            host_system_ids: Optional[Sequence[str]] = None,
                            name: Optional[str] = None)
@overload
def ComputeClusterHostGroup(resource_name: str,
                            args: ComputeClusterHostGroupArgs,
                            opts: Optional[ResourceOptions] = None)
func NewComputeClusterHostGroup(ctx *Context, name string, args ComputeClusterHostGroupArgs, opts ...ResourceOption) (*ComputeClusterHostGroup, error)
public ComputeClusterHostGroup(string name, ComputeClusterHostGroupArgs args, CustomResourceOptions? opts = null)
public ComputeClusterHostGroup(String name, ComputeClusterHostGroupArgs args)
public ComputeClusterHostGroup(String name, ComputeClusterHostGroupArgs args, CustomResourceOptions options)
type: vsphere:ComputeClusterHostGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ComputeClusterHostGroupArgs
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 ComputeClusterHostGroupArgs
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 ComputeClusterHostGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ComputeClusterHostGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ComputeClusterHostGroupArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ComputeClusterHostGroup Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The ComputeClusterHostGroup resource accepts the following input properties:

ComputeClusterId string

The managed object reference ID of the cluster to put the group in. Forces a new resource if changed.

HostSystemIds List<string>

The managed object IDs of the hosts to put in the cluster.

Name string

The name of the host group. This must be unique in the cluster. Forces a new resource if changed.

ComputeClusterId string

The managed object reference ID of the cluster to put the group in. Forces a new resource if changed.

HostSystemIds []string

The managed object IDs of the hosts to put in the cluster.

Name string

The name of the host group. This must be unique in the cluster. Forces a new resource if changed.

computeClusterId String

The managed object reference ID of the cluster to put the group in. Forces a new resource if changed.

hostSystemIds List<String>

The managed object IDs of the hosts to put in the cluster.

name String

The name of the host group. This must be unique in the cluster. Forces a new resource if changed.

computeClusterId string

The managed object reference ID of the cluster to put the group in. Forces a new resource if changed.

hostSystemIds string[]

The managed object IDs of the hosts to put in the cluster.

name string

The name of the host group. This must be unique in the cluster. Forces a new resource if changed.

compute_cluster_id str

The managed object reference ID of the cluster to put the group in. Forces a new resource if changed.

host_system_ids Sequence[str]

The managed object IDs of the hosts to put in the cluster.

name str

The name of the host group. This must be unique in the cluster. Forces a new resource if changed.

computeClusterId String

The managed object reference ID of the cluster to put the group in. Forces a new resource if changed.

hostSystemIds List<String>

The managed object IDs of the hosts to put in the cluster.

name String

The name of the host group. This must be unique in the cluster. Forces a new resource if changed.

Outputs

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

Get an existing ComputeClusterHostGroup 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?: ComputeClusterHostGroupState, opts?: CustomResourceOptions): ComputeClusterHostGroup
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compute_cluster_id: Optional[str] = None,
        host_system_ids: Optional[Sequence[str]] = None,
        name: Optional[str] = None) -> ComputeClusterHostGroup
func GetComputeClusterHostGroup(ctx *Context, name string, id IDInput, state *ComputeClusterHostGroupState, opts ...ResourceOption) (*ComputeClusterHostGroup, error)
public static ComputeClusterHostGroup Get(string name, Input<string> id, ComputeClusterHostGroupState? state, CustomResourceOptions? opts = null)
public static ComputeClusterHostGroup get(String name, Output<String> id, ComputeClusterHostGroupState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
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:
ComputeClusterId string

The managed object reference ID of the cluster to put the group in. Forces a new resource if changed.

HostSystemIds List<string>

The managed object IDs of the hosts to put in the cluster.

Name string

The name of the host group. This must be unique in the cluster. Forces a new resource if changed.

ComputeClusterId string

The managed object reference ID of the cluster to put the group in. Forces a new resource if changed.

HostSystemIds []string

The managed object IDs of the hosts to put in the cluster.

Name string

The name of the host group. This must be unique in the cluster. Forces a new resource if changed.

computeClusterId String

The managed object reference ID of the cluster to put the group in. Forces a new resource if changed.

hostSystemIds List<String>

The managed object IDs of the hosts to put in the cluster.

name String

The name of the host group. This must be unique in the cluster. Forces a new resource if changed.

computeClusterId string

The managed object reference ID of the cluster to put the group in. Forces a new resource if changed.

hostSystemIds string[]

The managed object IDs of the hosts to put in the cluster.

name string

The name of the host group. This must be unique in the cluster. Forces a new resource if changed.

compute_cluster_id str

The managed object reference ID of the cluster to put the group in. Forces a new resource if changed.

host_system_ids Sequence[str]

The managed object IDs of the hosts to put in the cluster.

name str

The name of the host group. This must be unique in the cluster. Forces a new resource if changed.

computeClusterId String

The managed object reference ID of the cluster to put the group in. Forces a new resource if changed.

hostSystemIds List<String>

The managed object IDs of the hosts to put in the cluster.

name String

The name of the host group. This must be unique in the cluster. Forces a new resource if changed.

Package Details

Repository
https://github.com/pulumi/pulumi-vsphere
License
Apache-2.0
Notes

This Pulumi package is based on the vsphere Terraform Provider.