Compartilhar via


ServicePrincipalDatastoreCredentials Class

Definition

Service Principal datastore credentials configuration.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.ServicePrincipalDatastoreCredentialsTypeConverter))]
public class ServicePrincipalDatastoreCredentials : Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IServicePrincipalDatastoreCredentials, Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.ServicePrincipalDatastoreCredentialsTypeConverter))>]
type ServicePrincipalDatastoreCredentials = class
    interface IServicePrincipalDatastoreCredentials
    interface IJsonSerializable
    interface IDatastoreCredentials
    interface IValidates
Public Class ServicePrincipalDatastoreCredentials
Implements IServicePrincipalDatastoreCredentials, IValidates
Inheritance
ServicePrincipalDatastoreCredentials
Attributes
Implements

Constructors

ServicePrincipalDatastoreCredentials()

Creates an new ServicePrincipalDatastoreCredentials instance.

Properties

AuthorityUrl

Authority URL used for authentication.

ClientId

[Required] Service principal client ID.

CredentialsType

[Required] Credential type used to authentication with storage.

ResourceUrl

Resource the service principal has access to.

Secret

[Required] Service principal secrets.

TenantId

[Required] ID of the tenant to which the service principal belongs.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ServicePrincipalDatastoreCredentials.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ServicePrincipalDatastoreCredentials.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.MachineLearningServices.Models.Api20220501.IServicePrincipalDatastoreCredentials.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ServicePrincipalDatastoreCredentials into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to