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

ServicePrincipalImpl 类

定义

ServicePrincipal 及其父接口的实现。

public class ServicePrincipalImpl : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.CreatableUpdatable<Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipal,Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ServicePrincipalInner,Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipalImpl,Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId,Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate>, Microsoft.Azure.Management.Graph.RBAC.Fluent.IHasCredential<Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate>, Microsoft.Azure.Management.Graph.RBAC.Fluent.IHasCredential<Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate>, Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipal, Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IDefinition, Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ServicePrincipalInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Graph.RBAC.Fluent.GraphRbacManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasName, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IAppliable<Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipal>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipal>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate>
type ServicePrincipalImpl = class
    inherit CreatableUpdatable<IServicePrincipal, ServicePrincipalInner, ServicePrincipalImpl, IHasId, IUpdate>
    interface IServicePrincipal
    interface IBeta
    interface IActiveDirectoryObject
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasManager<GraphRbacManager>
    interface IHasInner<ServicePrincipalInner>
    interface IUpdatable<IUpdate>
    interface IDefinition
    interface IBlank
    interface IWithApplication
    interface IWithApplicationBeta
    interface IWithCreate
    interface ICreatable<IServicePrincipal>
    interface IWithCredential
    interface IWithCredentialBeta
    interface IWithRoleAssignment
    interface IWithRoleAssignmentBeta
    interface IUpdate
    interface IAppliable<IServicePrincipal>
    interface IWithCredential
    interface IWithCredentialBeta
    interface IWithRoleAssignment
    interface IWithRoleAssignmentBeta
    interface IHasCredential<IWithCreate>
    interface IHasCredential<IUpdate>
Public Class ServicePrincipalImpl
Inherits CreatableUpdatable(Of IServicePrincipal, ServicePrincipalInner, ServicePrincipalImpl, IHasId, IUpdate)
Implements IAppliable(Of IServicePrincipal), IBeta, ICreatable(Of IServicePrincipal), IDefinition, IHasCredential(Of IUpdate), IHasCredential(Of IWithCreate), IHasId, IHasInner(Of ServicePrincipalInner), IHasManager(Of GraphRbacManager), IHasName, IServicePrincipal, IUpdatable(Of IUpdate), IUpdate
继承
实现

属性

CreatorTaskGroup

ServicePrincipal 及其父接口的实现。

(继承自 Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
Inner

ServicePrincipal 及其父接口的实现。

(继承自 IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
Key

ServicePrincipal 及其父接口的实现。

(继承自 Indexable)
Name

ServicePrincipal 及其父接口的实现。

(继承自 Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)

方法

AddCreatableDependency(IResourceCreator<IResourceT>)

ServicePrincipal 及其父接口的实现。

(继承自 Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
ApplicationId()

ServicePrincipal 及其父接口的实现。

Apply()

ServicePrincipal 及其父接口的实现。

(继承自 CreatableUpdatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT,IUpdatableT>)
ApplyAsync(CancellationToken, Boolean)

ServicePrincipal 及其父接口的实现。

(继承自 CreatableUpdatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT,IUpdatableT>)
CertificateCredentials()

ServicePrincipal 及其父接口的实现。

Create()

ServicePrincipal 及其父接口的实现。

(继承自 Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreateAsync(CancellationToken, Boolean)

ServicePrincipal 及其父接口的实现。

(继承自 Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreatedResource(String)

ServicePrincipal 及其父接口的实现。

(继承自 Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreateResource()

ServicePrincipal 及其父接口的实现。

(继承自 Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
CreateResourceAsync(CancellationToken)

ServicePrincipal 及其父接口的实现。

DefineCertificateCredential<T>()

ServicePrincipal 及其父接口的实现。

DefineCertificateCredential<T>(String)

ServicePrincipal 及其父接口的实现。

DefinePasswordCredential<T>(String)

ServicePrincipal 及其父接口的实现。

GetInnerAsync(CancellationToken)

ServicePrincipal 及其父接口的实现。

Id()

ServicePrincipal 及其父接口的实现。

IsInCreateMode()

ServicePrincipal 及其父接口的实现。

Manager()

ServicePrincipal 及其父接口的实现。

PasswordCredentials()

ServicePrincipal 及其父接口的实现。

Refresh()

ServicePrincipal 及其父接口的实现。

(继承自 IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
RefreshAsync(CancellationToken)

ServicePrincipal 及其父接口的实现。

RoleAssignments()

ServicePrincipal 及其父接口的实现。

ServicePrincipalNames()

ServicePrincipal 及其父接口的实现。

SetInner(InnerResourceT)

ServicePrincipal 及其父接口的实现。

(继承自 IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
Update()

ServicePrincipal 及其父接口的实现。

(继承自 CreatableUpdatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT,IUpdatableT>)
WithCertificateCredential<T>(CertificateCredentialImpl<T>)

ServicePrincipal 及其父接口的实现。

WithExistingApplication(IActiveDirectoryApplication)

ServicePrincipal 及其父接口的实现。

WithExistingApplication(String)

ServicePrincipal 及其父接口的实现。

WithNewApplication(ICreatable<IActiveDirectoryApplication>)

ServicePrincipal 及其父接口的实现。

WithNewApplication(String)

ServicePrincipal 及其父接口的实现。

WithNewRole(BuiltInRole, String)

ServicePrincipal 及其父接口的实现。

WithNewRoleInResourceGroup(BuiltInRole, IResourceGroup)

ServicePrincipal 及其父接口的实现。

WithNewRoleInSubscription(BuiltInRole, String)

ServicePrincipal 及其父接口的实现。

WithoutCredential(String)

ServicePrincipal 及其父接口的实现。

WithoutCredentialByIdentifier(String)

ServicePrincipal 及其父接口的实现。

WithoutRole(IRoleAssignment)

ServicePrincipal 及其父接口的实现。

WithPasswordCredential<T>(PasswordCredentialImpl<T>)

ServicePrincipal 及其父接口的实现。

显式接口实现

IHasCredential<IUpdate>.WithCertificateCredential(CertificateCredentialImpl<IUpdate>)

将凭据附加到此模型。

IHasCredential<IUpdate>.WithPasswordCredential(PasswordCredentialImpl<IUpdate>)

将凭据附加到此模型。

IHasCredential<IWithCreate>.WithCertificateCredential(CertificateCredentialImpl<IWithCreate>)

将凭据附加到此模型。

IHasCredential<IWithCreate>.WithPasswordCredential(PasswordCredentialImpl<IWithCreate>)

将凭据附加到此模型。

IHasId.Id

ServicePrincipal 及其父接口的实现。

IHasManager<GraphRbacManager>.Manager

ServicePrincipal 及其父接口的实现。

IResourceCreator<IResourceT>.CreateResource()

ServicePrincipal 及其父接口的实现。

(继承自 Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
IResourceCreator<IResourceT>.CreateResourceAsync(CancellationToken)

ServicePrincipal 及其父接口的实现。

(继承自 Creatable<IFluentResourceT,InnerResourceT,FluentResourceT,IResourceT>)
IServicePrincipal.ApplicationId

获取应用 ID。

IServicePrincipal.CertificateCredentials

从其名称中获取证书凭据的映射。

IServicePrincipal.PasswordCredentials

从其名称中获取密码凭据的映射。

IServicePrincipal.RoleAssignments

获取从范围到角色分配的映射。

IServicePrincipal.ServicePrincipalNames

获取名称列表。

IWithApplicationBeta.WithExistingApplication(IActiveDirectoryApplication)

指定服务主体要使用的现有应用程序。

IWithApplicationBeta.WithExistingApplication(String)

按应用 ID 指定现有应用程序。

IWithApplicationBeta.WithNewApplication(ICreatable<IActiveDirectoryApplication>)

指定要由服务主体创建和使用的新应用程序。

IWithApplicationBeta.WithNewApplication(String)

指定要由服务主体创建和使用的新应用程序。

IWithCredentialBeta.DefineCertificateCredential()

启动证书凭据的定义。

IWithCredentialBeta.DefineCertificateCredential()

启动证书凭据的定义。

IWithCredentialBeta.DefineCertificateCredential(String)

启动证书凭据的定义。

IWithCredentialBeta.DefineCertificateCredential(String)

启动证书凭据的定义。

IWithCredentialBeta.DefinePasswordCredential(String)

启动密码凭据的定义。

IWithCredentialBeta.DefinePasswordCredential(String)

启动密码凭据的定义。

IWithCredentialBeta.WithoutCredential(String)

删除密钥。

IWithCredentialBeta.WithoutCredentialByIdentifier(String)

删除凭据。

IWithRoleAssignmentBeta.WithNewRole(BuiltInRole, String)

将新角色分配给服务主体。

IWithRoleAssignmentBeta.WithNewRole(BuiltInRole, String)

将新角色分配给服务主体。

IWithRoleAssignmentBeta.WithNewRoleInResourceGroup(BuiltInRole, IResourceGroup)

将新角色分配给服务主体。

IWithRoleAssignmentBeta.WithNewRoleInResourceGroup(BuiltInRole, IResourceGroup)

将新角色分配给服务主体。

IWithRoleAssignmentBeta.WithNewRoleInSubscription(BuiltInRole, String)

将新角色分配给服务主体。

IWithRoleAssignmentBeta.WithNewRoleInSubscription(BuiltInRole, String)

将新角色分配给服务主体。

IWithRoleAssignmentBeta.WithoutRole(IRoleAssignment)

从服务主体中删除角色。

适用于