VMware vSphere Automation SDK for .NET 7.0.0.1
vmware::vstats::CounterMetadataStub Class Reference

Remote stub implementation of the CounterMetadata API service. More...

Inherits vmware::vstats::CounterMetadata.

List of all members.

Public Member Functions

 CounterMetadataStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.TypeConverter typeConverter, vmware.vapi.bindings.IStubConfiguration config)
 CounterMetadataStub (vmware.vapi.core.IApiProvider iApiProvider, vmware.vapi.bindings.IStubConfiguration config)
global::System.Collections.Generic.List
< vmware.vstats.CounterMetadataTypes.Info
List (string cid, vmware.vstats.CounterMetadataTypes.FilterSpec filter)
 Returns information about all counter metadata records for a specific Counter.
global::System.Collections.Generic.List
< vmware.vstats.CounterMetadataTypes.Info
List (string cid, vmware.vstats.CounterMetadataTypes.FilterSpec filter, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns information about all counter metadata records for a specific Counter.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< vmware.vstats.CounterMetadataTypes.Info > > 
ListAsync (string cid, vmware.vstats.CounterMetadataTypes.FilterSpec filter)
 Returns information about all counter metadata records for a specific Counter.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< vmware.vstats.CounterMetadataTypes.Info > > 
ListAsync (string cid, vmware.vstats.CounterMetadataTypes.FilterSpec filter, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns information about all counter metadata records for a specific Counter.
global::System.Collections.Generic.List
< vmware.vstats.CounterMetadataTypes.Info
GetDefault (string cid)
 This method returns the "default" CounterMetadata.
global::System.Collections.Generic.List
< vmware.vstats.CounterMetadataTypes.Info
GetDefault (string cid, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 This method returns the "default" CounterMetadata.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< vmware.vstats.CounterMetadataTypes.Info > > 
GetDefaultAsync (string cid)
 This method returns the "default" CounterMetadata.
global::System.Threading.Tasks.Task
< global::System.Collections.Generic.List
< vmware.vstats.CounterMetadataTypes.Info > > 
GetDefaultAsync (string cid, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 This method returns the "default" CounterMetadata.
vmware.vstats.CounterMetadataTypes.Info Get (string cid, string mid)
 Returns information about a specific CounterMetadata.
vmware.vstats.CounterMetadataTypes.Info Get (string cid, string mid, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns information about a specific CounterMetadata.
global::System.Threading.Tasks.Task
< vmware.vstats.CounterMetadataTypes.Info
GetAsync (string cid, string mid)
 Returns information about a specific CounterMetadata.
global::System.Threading.Tasks.Task
< vmware.vstats.CounterMetadataTypes.Info
GetAsync (string cid, string mid, global::System.Action< vmware.vapi.std.Progress > _progress, vmware.vapi.bindings.client.InvocationConfig _invocationConfig)
 Returns information about a specific CounterMetadata.

Detailed Description

Remote stub implementation of the CounterMetadata API service.


Constructor & Destructor Documentation

vmware::vstats::CounterMetadataStub::CounterMetadataStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.TypeConverter  typeConverter,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]
vmware::vstats::CounterMetadataStub::CounterMetadataStub ( vmware.vapi.core.IApiProvider  iApiProvider,
vmware.vapi.bindings.IStubConfiguration  config 
) [inline]

Member Function Documentation

vmware.vstats.CounterMetadataTypes.Info vmware::vstats::CounterMetadataStub::Get ( string  cid,
string  mid 
) [inline]

Returns information about a specific CounterMetadata.

Warning: This method 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif any of the specified parameters are invalid.
vmware.vapi.std.errors.NotFoundif Counter or CounterMetadata could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have sufficient privileges.
Parameters:
cidCounter ID. The parameter must be an identifier for the resource type: com.vmware.vstats.model.Counter .
midCounterMetadata ID. The parameter must be an identifier for the resource type: com.vmware.vstats.model.CounterMetadata .
Returns:
Information about the desired CounterMetadata.

Implements vmware::vstats::CounterMetadata.

vmware.vstats.CounterMetadataTypes.Info vmware::vstats::CounterMetadataStub::Get ( string  cid,
string  mid,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns information about a specific CounterMetadata.

Warning: This method 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif any of the specified parameters are invalid.
vmware.vapi.std.errors.NotFoundif Counter or CounterMetadata could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have sufficient privileges.
Parameters:
cidCounter ID. The parameter must be an identifier for the resource type: com.vmware.vstats.model.Counter .
midCounterMetadata ID. The parameter must be an identifier for the resource type: com.vmware.vstats.model.CounterMetadata .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Information about the desired CounterMetadata.

Implements vmware::vstats::CounterMetadata.

global::System.Threading.Tasks.Task<vmware.vstats.CounterMetadataTypes.Info> vmware::vstats::CounterMetadataStub::GetAsync ( string  cid,
string  mid 
) [inline]

Returns information about a specific CounterMetadata.

Warning: This method 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif any of the specified parameters are invalid.
vmware.vapi.std.errors.NotFoundif Counter or CounterMetadata could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have sufficient privileges.
Parameters:
cidCounter ID. The parameter must be an identifier for the resource type: com.vmware.vstats.model.Counter .
midCounterMetadata ID. The parameter must be an identifier for the resource type: com.vmware.vstats.model.CounterMetadata .
Returns:
Information about the desired CounterMetadata.

Implements vmware::vstats::CounterMetadata.

global::System.Threading.Tasks.Task<vmware.vstats.CounterMetadataTypes.Info> vmware::vstats::CounterMetadataStub::GetAsync ( string  cid,
string  mid,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns information about a specific CounterMetadata.

Warning: This method 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif any of the specified parameters are invalid.
vmware.vapi.std.errors.NotFoundif Counter or CounterMetadata could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have sufficient privileges.
Parameters:
cidCounter ID. The parameter must be an identifier for the resource type: com.vmware.vstats.model.Counter .
midCounterMetadata ID. The parameter must be an identifier for the resource type: com.vmware.vstats.model.CounterMetadata .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
Information about the desired CounterMetadata.

Implements vmware::vstats::CounterMetadata.

global::System.Collections.Generic.List<vmware.vstats.CounterMetadataTypes.Info> vmware::vstats::CounterMetadataStub::GetDefault ( string  cid) [inline]

This method returns the "default" CounterMetadata.

A Counter has at least one related metadata object. Usually, stats providers (for example hosts) are in agreement about the default metadata. In this case the returned list has a single metadata object.

Sometimes, when providers are in "disagreement" about the default, then the returned list would include all the possible "defaults". This potential ambiguity isn't a real issue because consumers of the vStats API rarely need to specify the "mid" of metadata. Therefore, this API is used primarily for informational purposes.. Warning: This method 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif cid is invalid.
vmware.vapi.std.errors.NotFoundif Counter could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have sufficient privileges.
Parameters:
cidCounter ID. The parameter must be an identifier for the resource type: com.vmware.vstats.model.Counter .
Returns:
List of counter metadata records.

Implements vmware::vstats::CounterMetadata.

global::System.Collections.Generic.List<vmware.vstats.CounterMetadataTypes.Info> vmware::vstats::CounterMetadataStub::GetDefault ( string  cid,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

This method returns the "default" CounterMetadata.

A Counter has at least one related metadata object. Usually, stats providers (for example hosts) are in agreement about the default metadata. In this case the returned list has a single metadata object.

Sometimes, when providers are in "disagreement" about the default, then the returned list would include all the possible "defaults". This potential ambiguity isn't a real issue because consumers of the vStats API rarely need to specify the "mid" of metadata. Therefore, this API is used primarily for informational purposes.. Warning: This method 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif cid is invalid.
vmware.vapi.std.errors.NotFoundif Counter could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have sufficient privileges.
Parameters:
cidCounter ID. The parameter must be an identifier for the resource type: com.vmware.vstats.model.Counter .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
List of counter metadata records.

Implements vmware::vstats::CounterMetadata.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vstats.CounterMetadataTypes.Info> > vmware::vstats::CounterMetadataStub::GetDefaultAsync ( string  cid,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

This method returns the "default" CounterMetadata.

A Counter has at least one related metadata object. Usually, stats providers (for example hosts) are in agreement about the default metadata. In this case the returned list has a single metadata object.

Sometimes, when providers are in "disagreement" about the default, then the returned list would include all the possible "defaults". This potential ambiguity isn't a real issue because consumers of the vStats API rarely need to specify the "mid" of metadata. Therefore, this API is used primarily for informational purposes.. Warning: This method 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif cid is invalid.
vmware.vapi.std.errors.NotFoundif Counter could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have sufficient privileges.
Parameters:
cidCounter ID. The parameter must be an identifier for the resource type: com.vmware.vstats.model.Counter .
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
List of counter metadata records.

Implements vmware::vstats::CounterMetadata.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vstats.CounterMetadataTypes.Info> > vmware::vstats::CounterMetadataStub::GetDefaultAsync ( string  cid) [inline]

This method returns the "default" CounterMetadata.

A Counter has at least one related metadata object. Usually, stats providers (for example hosts) are in agreement about the default metadata. In this case the returned list has a single metadata object.

Sometimes, when providers are in "disagreement" about the default, then the returned list would include all the possible "defaults". This potential ambiguity isn't a real issue because consumers of the vStats API rarely need to specify the "mid" of metadata. Therefore, this API is used primarily for informational purposes.. Warning: This method 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif cid is invalid.
vmware.vapi.std.errors.NotFoundif Counter could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have sufficient privileges.
Parameters:
cidCounter ID. The parameter must be an identifier for the resource type: com.vmware.vstats.model.Counter .
Returns:
List of counter metadata records.

Implements vmware::vstats::CounterMetadata.

global::System.Collections.Generic.List<vmware.vstats.CounterMetadataTypes.Info> vmware::vstats::CounterMetadataStub::List ( string  cid,
vmware.vstats.CounterMetadataTypes.FilterSpec  filter,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns information about all counter metadata records for a specific Counter.

Warning: This method 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif any of the specified parameters are invalid.
vmware.vapi.std.errors.NotFoundif Counter could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have sufficient privileges.
Parameters:
cidCounter ID. The parameter must be an identifier for the resource type: com.vmware.vstats.model.Counter .
filterFilter specification. When null no filtering will be performed.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
List of counter metadata for the specified counter.

Implements vmware::vstats::CounterMetadata.

global::System.Collections.Generic.List<vmware.vstats.CounterMetadataTypes.Info> vmware::vstats::CounterMetadataStub::List ( string  cid,
vmware.vstats.CounterMetadataTypes.FilterSpec  filter 
) [inline]

Returns information about all counter metadata records for a specific Counter.

Warning: This method 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif any of the specified parameters are invalid.
vmware.vapi.std.errors.NotFoundif Counter could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have sufficient privileges.
Parameters:
cidCounter ID. The parameter must be an identifier for the resource type: com.vmware.vstats.model.Counter .
filterFilter specification. When null no filtering will be performed.
Returns:
List of counter metadata for the specified counter.

Implements vmware::vstats::CounterMetadata.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vstats.CounterMetadataTypes.Info> > vmware::vstats::CounterMetadataStub::ListAsync ( string  cid,
vmware.vstats.CounterMetadataTypes.FilterSpec  filter 
) [inline]

Returns information about all counter metadata records for a specific Counter.

Warning: This method 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif any of the specified parameters are invalid.
vmware.vapi.std.errors.NotFoundif Counter could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have sufficient privileges.
Parameters:
cidCounter ID. The parameter must be an identifier for the resource type: com.vmware.vstats.model.Counter .
filterFilter specification. When null no filtering will be performed.
Returns:
List of counter metadata for the specified counter.

Implements vmware::vstats::CounterMetadata.

global::System.Threading.Tasks.Task<global::System.Collections.Generic.List<vmware.vstats.CounterMetadataTypes.Info> > vmware::vstats::CounterMetadataStub::ListAsync ( string  cid,
vmware.vstats.CounterMetadataTypes.FilterSpec  filter,
global::System.Action< vmware.vapi.std.Progress >  _progress,
vmware.vapi.bindings.client.InvocationConfig  _invocationConfig 
) [inline]

Returns information about all counter metadata records for a specific Counter.

Warning: This method 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.

Exceptions:
vmware.vapi.std.errors.Errorif the system reports an error while responding to the request.
vmware.vapi.std.errors.InvalidArgumentif any of the specified parameters are invalid.
vmware.vapi.std.errors.NotFoundif Counter could not be located.
vmware.vapi.std.errors.Unauthenticatedif the user can not be authenticated.
vmware.vapi.std.errors.Unauthorizedif the user does not have sufficient privileges.
Parameters:
cidCounter ID. The parameter must be an identifier for the resource type: com.vmware.vstats.model.Counter .
filterFilter specification. When null no filtering will be performed.
_progressProgress notification call back
_invocationConfigConfiguration for the method invocation
Returns:
List of counter metadata for the specified counter.

Implements vmware::vstats::CounterMetadata.


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