Share via


VirtualMachineSecrets Class

Definition

Secrets related to a Machine Learning compute based on AKS.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.VirtualMachineSecretsTypeConverter))]
public class VirtualMachineSecrets : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IVirtualMachineSecrets, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.VirtualMachineSecretsTypeConverter))>]
type VirtualMachineSecrets = class
    interface IVirtualMachineSecrets
    interface IJsonSerializable
    interface IComputeSecrets
    interface IVirtualMachineSecretsSchema
    interface IValidates
Public Class VirtualMachineSecrets
Implements IValidates, IVirtualMachineSecrets
Inheritance
VirtualMachineSecrets
Attributes
Implements

Constructors

VirtualMachineSecrets()

Creates an new VirtualMachineSecrets instance.

Properties

AdministratorAccount

Admin credentials for virtual machine.

AdministratorAccountPassword

Password of admin account

AdministratorAccountPrivateKeyData

Private key data

AdministratorAccountPublicKeyData

Public key data

AdministratorAccountUsername

Username of admin account

ComputeType

The type of compute

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualMachineSecrets.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualMachineSecrets.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IVirtualMachineSecrets.

FromJsonString(String)

Creates a new instance of VirtualMachineSecrets, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualMachineSecrets into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to