ViCredential Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Username / Password Credentials to connect to vcenter.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.ViCredentialTypeConverter))]
public class ViCredential : Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IViCredential
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.ViCredentialTypeConverter))>]
type ViCredential = class
interface IViCredential
interface IJsonSerializable
Public Class ViCredential
Implements IViCredential
- Inheritance
-
ViCredential
- Attributes
- Implements
Constructors
ViCredential() |
Creates an new ViCredential instance. |
Properties
Password |
Gets or sets the password to connect with the vCenter. |
Username |
Gets or sets username to connect with the vCenter. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ViCredential. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ViCredential. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedVMware.Models.IViCredential. |
FromJsonString(String) |
Creates a new instance of ViCredential, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of ViCredential into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |