你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IDefinition 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
需要实现的所有定义的容器接口。
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) |