VMware vSphere Automation SDK for .NET 6.5.0
vmware::vcenter::ClusterTypes::FilterSpec Class Reference

The Cluster.FilterSpec class contains fields used to filter the results when listing clusters (see Cluster.List ). More...

List of all members.

Public Member Functions

 FilterSpec ()
 Creates a default new instance.
global::System.Collections.Generic.HashSet
< string > 
GetClusters ()
 Identifiers of clusters that can match the filter.
void SetClusters (global::System.Collections.Generic.HashSet< string > clusters)
 Identifiers of clusters that can match the filter.
global::System.Collections.Generic.HashSet
< string > 
GetNames ()
 Names that clusters must have to match the filter (see Cluster.Info.name ).
void SetNames (global::System.Collections.Generic.HashSet< string > names)
 Names that clusters must have to match the filter (see Cluster.Info.name ).
global::System.Collections.Generic.HashSet
< string > 
GetFolders ()
 Folders that must contain the cluster for the cluster to match the filter.
void SetFolders (global::System.Collections.Generic.HashSet< string > folders)
 Folders that must contain the cluster for the cluster to match the filter.
global::System.Collections.Generic.HashSet
< string > 
GetDatacenters ()
 Datacenters that must contain the cluster for the cluster to match the filter.
void SetDatacenters (global::System.Collections.Generic.HashSet< string > datacenters)
 Datacenters that must contain the cluster for the cluster to match the filter.
vmware.vapi.bindings.type.StructType _GetType ()
vmware.vapi.data.StructValue _GetDataValue ()
void _Validate ()
bool _HasTypeNameOf< T > ()
_ConvertTo< T > ()
override bool Equals (object obj)
override int GetHashCode ()
override string ToString ()

Detailed Description

The Cluster.FilterSpec class contains fields used to filter the results when listing clusters (see Cluster.List ).

If multiple fields are specified, only clusters matching all of the fields match the filter.


Constructor & Destructor Documentation

vmware::vcenter::ClusterTypes::FilterSpec::FilterSpec ( ) [inline]

Creates a default new instance.


Member Function Documentation

T vmware::vcenter::ClusterTypes::FilterSpec::_ConvertTo< T > ( ) [inline]
Type Constraints
T :vmware.vapi.bindings.IStructure 
vmware.vapi.data.StructValue vmware::vcenter::ClusterTypes::FilterSpec::_GetDataValue ( ) [inline]
vmware.vapi.bindings.type.StructType vmware::vcenter::ClusterTypes::FilterSpec::_GetType ( ) [inline]
bool vmware::vcenter::ClusterTypes::FilterSpec::_HasTypeNameOf< T > ( ) [inline]
Type Constraints
T :vmware.vapi.bindings.IStructure 
void vmware::vcenter::ClusterTypes::FilterSpec::_Validate ( ) [inline]
override bool vmware::vcenter::ClusterTypes::FilterSpec::Equals ( object  obj) [inline]
global::System.Collections.Generic.HashSet<string> vmware::vcenter::ClusterTypes::FilterSpec::GetClusters ( ) [inline]

Identifiers of clusters that can match the filter.

When clients pass a value of this class as a parameter, the field must contain identifiers for the resource type: ClusterComputeResource . When methods return a value of this class as a result, the field will contain identifiers for the resource type: ClusterComputeResource .

global::System.Collections.Generic.HashSet<string> vmware::vcenter::ClusterTypes::FilterSpec::GetDatacenters ( ) [inline]

Datacenters that must contain the cluster for the cluster to match the filter.

When clients pass a value of this class as a parameter, the field must contain identifiers for the resource type: Datacenter . When methods return a value of this class as a result, the field will contain identifiers for the resource type: Datacenter .

global::System.Collections.Generic.HashSet<string> vmware::vcenter::ClusterTypes::FilterSpec::GetFolders ( ) [inline]

Folders that must contain the cluster for the cluster to match the filter.

When clients pass a value of this class as a parameter, the field must contain identifiers for the resource type: Folder . When methods return a value of this class as a result, the field will contain identifiers for the resource type: Folder .

override int vmware::vcenter::ClusterTypes::FilterSpec::GetHashCode ( ) [inline]
global::System.Collections.Generic.HashSet<string> vmware::vcenter::ClusterTypes::FilterSpec::GetNames ( ) [inline]

Names that clusters must have to match the filter (see Cluster.Info.name ).

void vmware::vcenter::ClusterTypes::FilterSpec::SetClusters ( global::System.Collections.Generic.HashSet< string >  clusters) [inline]

Identifiers of clusters that can match the filter.

When clients pass a value of this class as a parameter, the field must contain identifiers for the resource type: ClusterComputeResource . When methods return a value of this class as a result, the field will contain identifiers for the resource type: ClusterComputeResource .

void vmware::vcenter::ClusterTypes::FilterSpec::SetDatacenters ( global::System.Collections.Generic.HashSet< string >  datacenters) [inline]

Datacenters that must contain the cluster for the cluster to match the filter.

When clients pass a value of this class as a parameter, the field must contain identifiers for the resource type: Datacenter . When methods return a value of this class as a result, the field will contain identifiers for the resource type: Datacenter .

void vmware::vcenter::ClusterTypes::FilterSpec::SetFolders ( global::System.Collections.Generic.HashSet< string >  folders) [inline]

Folders that must contain the cluster for the cluster to match the filter.

When clients pass a value of this class as a parameter, the field must contain identifiers for the resource type: Folder . When methods return a value of this class as a result, the field will contain identifiers for the resource type: Folder .

void vmware::vcenter::ClusterTypes::FilterSpec::SetNames ( global::System.Collections.Generic.HashSet< string >  names) [inline]

Names that clusters must have to match the filter (see Cluster.Info.name ).

override string vmware::vcenter::ClusterTypes::FilterSpec::ToString ( ) [inline]

The documentation for this class was generated from the following file: