Share via


ServicePrincipalDatastoreSecrets Class

Definition

Datastore Service Principal secrets.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ServicePrincipalDatastoreSecretsTypeConverter))]
public class ServicePrincipalDatastoreSecrets : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.IServicePrincipalDatastoreSecrets, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20240401.ServicePrincipalDatastoreSecretsTypeConverter))>]
type ServicePrincipalDatastoreSecrets = class
    interface IServicePrincipalDatastoreSecrets
    interface IJsonSerializable
    interface IDatastoreSecrets
    interface IValidates
Public Class ServicePrincipalDatastoreSecrets
Implements IServicePrincipalDatastoreSecrets, IValidates
Inheritance
ServicePrincipalDatastoreSecrets
Attributes
Implements

Constructors

ServicePrincipalDatastoreSecrets()

Creates an new ServicePrincipalDatastoreSecrets instance.

Properties

ClientSecret

Service principal secret.

SecretsType

[Required] Credential type used to authentication with storage.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ServicePrincipalDatastoreSecrets.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ServicePrincipalDatastoreSecrets.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ServicePrincipalDatastoreSecrets into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to