你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ServicePrincipalCredential 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 credential.
public class ServicePrincipalCredential : Azure.ResourceManager.DataFactory.Models.DataFactoryCredential, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataFactory.Models.ServicePrincipalCredential>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataFactory.Models.ServicePrincipalCredential>
public class ServicePrincipalCredential : Azure.ResourceManager.DataFactory.Models.DataFactoryCredential
type ServicePrincipalCredential = class
inherit DataFactoryCredential
interface IJsonModel<ServicePrincipalCredential>
interface IPersistableModel<ServicePrincipalCredential>
type ServicePrincipalCredential = class
inherit DataFactoryCredential
Public Class ServicePrincipalCredential
Inherits DataFactoryCredential
Implements IJsonModel(Of ServicePrincipalCredential), IPersistableModel(Of ServicePrincipalCredential)
Public Class ServicePrincipalCredential
Inherits DataFactoryCredential
- Inheritance
- Implements
Constructors
ServicePrincipalCredential() |
Initializes a new instance of ServicePrincipalCredential. |
Properties
AdditionalProperties |
Additional Properties To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
Annotations |
List of tags that can be used for describing the Credential. To assign an object to the element of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
Description |
Credential description. (Inherited from DataFactoryCredential) |
ServicePrincipalId |
The app ID of the service principal used to authenticate. |
ServicePrincipalKey |
The key of the service principal used to authenticate. |
Tenant |
The ID of the tenant to which the service principal belongs. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | (Inherited from DataFactoryCredential) |