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

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

List of all members.

Public Member Functions

 FilterSpec ()
 Creates a default new instance.
global::System.Collections.Generic.HashSet
< string > 
GetDatacenters ()
 Identifiers of datacenters that can match the filter.
void SetDatacenters (global::System.Collections.Generic.HashSet< string > datacenters)
 Identifiers of datacenters that can match the filter.
global::System.Collections.Generic.HashSet
< string > 
GetNames ()
 Names that datacenters must have to match the filter (see Datacenter.Info.name ).
void SetNames (global::System.Collections.Generic.HashSet< string > names)
 Names that datacenters must have to match the filter (see Datacenter.Info.name ).
global::System.Collections.Generic.HashSet
< string > 
GetFolders ()
 Folders that must contain the datacenters for the datacenter to match the filter.
void SetFolders (global::System.Collections.Generic.HashSet< string > folders)
 Folders that must contain the datacenters for the datacenter 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 Datacenter.FilterSpec class contains fields used to filter the results when listing datacenters (see Datacenter.List ).

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


Constructor & Destructor Documentation

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

Creates a default new instance.


Member Function Documentation

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

Identifiers of datacenters 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: 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::DatacenterTypes::FilterSpec::GetFolders ( ) [inline]

Folders that must contain the datacenters for the datacenter 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::DatacenterTypes::FilterSpec::GetHashCode ( ) [inline]
global::System.Collections.Generic.HashSet<string> vmware::vcenter::DatacenterTypes::FilterSpec::GetNames ( ) [inline]

Names that datacenters must have to match the filter (see Datacenter.Info.name ).

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

Identifiers of datacenters 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: 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::DatacenterTypes::FilterSpec::SetFolders ( global::System.Collections.Generic.HashSet< string >  folders) [inline]

Folders that must contain the datacenters for the datacenter 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::DatacenterTypes::FilterSpec::SetNames ( global::System.Collections.Generic.HashSet< string >  names) [inline]

Names that datacenters must have to match the filter (see Datacenter.Info.name ).

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

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