VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vcenter::compute::policies::CreateSpec Class Reference

The CreateSpec class contains common information used to create a new policy in VMware Cloud on AWS. More...

List of all members.

Classes

class  Builder
 Builder class for CreateSpec. More...

Public Member Functions

 CreateSpec ()
 Generate all-fields constructor only for errors and standard structures that have relevant fields.
string GetCapability ()
 Identifier of the capability this policy is based on.
void SetCapability (string capability)
 Identifier of the capability this policy is based on.
string GetName ()
 Name of the policy.
void SetName (string name)
 Name of the policy.
string GetDescription ()
 Description of the policy.
void SetDescription (string description)
 Description of the policy.
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 CreateSpec class contains common information used to create a new policy in VMware Cloud on AWS.

Usage beyond VMware Cloud on AWS is not supported. Warning: This class is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.


Constructor & Destructor Documentation

vmware::vcenter::compute::policies::CreateSpec::CreateSpec ( ) [inline]

Generate all-fields constructor only for errors and standard structures that have relevant fields.

Creates a default new instance.


Member Function Documentation

T vmware::vcenter::compute::policies::CreateSpec::_ConvertTo< T > ( ) [inline]
Type Constraints
T :vmware.vapi.bindings.IStructure 
vmware.vapi.data.StructValue vmware::vcenter::compute::policies::CreateSpec::_GetDataValue ( ) [inline]
vmware.vapi.bindings.type.StructType vmware::vcenter::compute::policies::CreateSpec::_GetType ( ) [inline]
bool vmware::vcenter::compute::policies::CreateSpec::_HasTypeNameOf< T > ( ) [inline]
Type Constraints
T :vmware.vapi.bindings.IStructure 
void vmware::vcenter::compute::policies::CreateSpec::_Validate ( ) [inline]
override bool vmware::vcenter::compute::policies::CreateSpec::Equals ( object  obj) [inline]
string vmware::vcenter::compute::policies::CreateSpec::GetCapability ( ) [inline]

Identifier of the capability this policy is based on.

Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the field must be an identifier for the resource type: com.vmware.vcenter.compute.policies.Capability . When methods return a value of this class as a result, the field will be an identifier for the resource type: com.vmware.vcenter.compute.policies.Capability .

string vmware::vcenter::compute::policies::CreateSpec::GetDescription ( ) [inline]

Description of the policy.

Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

override int vmware::vcenter::compute::policies::CreateSpec::GetHashCode ( ) [inline]
string vmware::vcenter::compute::policies::CreateSpec::GetName ( ) [inline]

Name of the policy.

The name needs to be unique within this vCenter server. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

void vmware::vcenter::compute::policies::CreateSpec::SetCapability ( string  capability) [inline]

Identifier of the capability this policy is based on.

Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments. When clients pass a value of this class as a parameter, the field must be an identifier for the resource type: com.vmware.vcenter.compute.policies.Capability . When methods return a value of this class as a result, the field will be an identifier for the resource type: com.vmware.vcenter.compute.policies.Capability .

void vmware::vcenter::compute::policies::CreateSpec::SetDescription ( string  description) [inline]

Description of the policy.

Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

void vmware::vcenter::compute::policies::CreateSpec::SetName ( string  name) [inline]

Name of the policy.

The name needs to be unique within this vCenter server. Warning: This attribute is available as Technology Preview. These are early access APIs provided to test, automate and provide feedback on the feature. Since this can change based on feedback, VMware does not guarantee backwards compatibility and recommends against using them in production environments. Some Technology Preview APIs might only be applicable to specific environments.

override string vmware::vcenter::compute::policies::CreateSpec::ToString ( ) [inline]

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