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

ServicePrincipal 类

定义

资源托管实例的服务主体配置。

public class ServicePrincipal
type ServicePrincipal = class
Public Class ServicePrincipal
继承
ServicePrincipal

构造函数

ServicePrincipal()

初始化 ServicePrincipal 类的新实例。

ServicePrincipal(String, String, String, String)

初始化 ServicePrincipal 类的新实例。

属性

ClientId

获取 Azure Active Directory 应用程序客户端 ID。

PrincipalId

获取 Azure Active Directory 应用程序对象 ID。

TenantId

获取 Azure Active Directory 租户 ID。

Type

获取或设置服务主体类型。 可能的值包括:“None”、“SystemAssigned”

适用于