Udostępnij przez


ComputeSecrets Class

Definition

Secrets related to a Machine Learning compute. Might differ for every type of compute.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ComputeSecretsTypeConverter))]
public class ComputeSecrets : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IComputeSecrets
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ComputeSecretsTypeConverter))>]
type ComputeSecrets = class
    interface IComputeSecrets
    interface IJsonSerializable
Public Class ComputeSecrets
Implements IComputeSecrets
Inheritance
ComputeSecrets
Attributes
Implements

Constructors

Name Description
ComputeSecrets()

Creates an new ComputeSecrets instance.

Properties

Name Description
ComputeType

The type of compute

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ComputeSecrets.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ComputeSecrets.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IComputeSecrets. Note: the Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IComputeSecrets interface is polymorphic, and the precise model class that will get deserialized is determined at runtime based on the payload.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ComputeSecrets into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to