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

IDefinition 接口

定义

需要实现的所有定义的容器接口。

public interface IDefinition : Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IBlank, Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipal>
type IDefinition = interface
    interface IBlank
    interface IWithApplication
    interface IWithApplicationBeta
    interface IBeta
    interface IWithCreate
    interface ICreatable<IServicePrincipal>
    interface IIndexable
    interface IWithCredential
    interface IWithCredentialBeta
    interface IWithRoleAssignment
    interface IWithRoleAssignmentBeta
Public Interface IDefinition
Implements IBeta, IBlank, ICreatable(Of IServicePrincipal), IWithCreate
派生
实现

属性

Key

需要实现的所有定义的容器接口。

(继承自 IIndexable)
Name

获取可创建资源的名称。

(继承自 ICreatable<T>)

方法

Create()

执行创建请求。

(继承自 ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

将请求放入队列,并允许 HTTP 客户端在系统资源可用时执行它。

(继承自 ICreatable<T>)
DefineCertificateCredential()

启动证书凭据的定义。

(继承自 IWithCredentialBeta)
DefineCertificateCredential(String)

启动证书凭据的定义。

(继承自 IWithCredentialBeta)
DefinePasswordCredential(String)

启动密码凭据的定义。

(继承自 IWithCredentialBeta)
WithExistingApplication(IActiveDirectoryApplication)

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

(继承自 IWithApplicationBeta)
WithExistingApplication(String)

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

(继承自 IWithApplicationBeta)
WithNewApplication(ICreatable<IActiveDirectoryApplication>)

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

(继承自 IWithApplicationBeta)
WithNewApplication(String)

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

(继承自 IWithApplicationBeta)
WithNewRole(BuiltInRole, String)

为服务主体分配新角色。

(继承自 IWithRoleAssignmentBeta)
WithNewRoleInResourceGroup(BuiltInRole, IResourceGroup)

为服务主体分配新角色。

(继承自 IWithRoleAssignmentBeta)
WithNewRoleInSubscription(BuiltInRole, String)

为服务主体分配新角色。

(继承自 IWithRoleAssignmentBeta)

适用于