你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServicePrincipalDatastoreCredentials 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.
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. |