Show / Hide Table of Contents

Class ComputeClusterHostGroup

The vsphere..ComputeClusterHostGroup resource can be used to manage groups of hosts in a cluster, either created by the vsphere..ComputeCluster resource or looked up by the vsphere..ComputeCluster data source.

This resource mainly serves as an input to the vsphere..ComputeClusterVmHostRule resource - see the documentation for that resource for further details on how to use host groups.

NOTE: This resource requires vCenter and is not available on direct ESXi connections.

NOTE: vSphere DRS requires a vSphere Enterprise Plus license.

Inheritance
System.Object
Resource
CustomResource
ComputeClusterHostGroup
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.VSphere
Assembly: Pulumi.VSphere.dll
Syntax
public class ComputeClusterHostGroup : CustomResource

Constructors

View Source

ComputeClusterHostGroup(String, ComputeClusterHostGroupArgs, CustomResourceOptions)

Create a ComputeClusterHostGroup resource with the given unique name, arguments, and options.

Declaration
public ComputeClusterHostGroup(string name, ComputeClusterHostGroupArgs args, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resource

ComputeClusterHostGroupArgs args

The arguments used to populate this resource's properties

CustomResourceOptions options

A bag of options that control this resource's behavior

Properties

View Source

ComputeClusterId

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

Declaration
public Output<string> ComputeClusterId { get; }
Property Value
Type Description
Output<System.String>
View Source

HostSystemIds

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

Declaration
public Output<ImmutableArray<string>> HostSystemIds { get; }
Property Value
Type Description
Output<System.Collections.Immutable.ImmutableArray<System.String>>
View Source

Name

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

Declaration
public Output<string> Name { get; }
Property Value
Type Description
Output<System.String>

Methods

View Source

Get(String, Input<String>, ComputeClusterHostGroupState, CustomResourceOptions)

Get an existing ComputeClusterHostGroup resource's state with the given name, ID, and optional extra properties used to qualify the lookup.

Declaration
public static ComputeClusterHostGroup Get(string name, Input<string> id, ComputeClusterHostGroupState state = null, CustomResourceOptions options = null)
Parameters
Type Name Description
System.String name

The unique name of the resulting resource.

Input<System.String> id

The unique provider ID of the resource to lookup.

ComputeClusterHostGroupState state

Any extra arguments used during the lookup.

CustomResourceOptions options

A bag of options that control this resource's behavior

Returns
Type Description
ComputeClusterHostGroup
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.