你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IDefinition 接口
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
需要实现的所有定义的容器接口。
public interface IDefinition : Microsoft.Azure.Management.Graph.RBAC.Fluent.ActiveDirectoryUser.Definition.IBlank, Microsoft.Azure.Management.Graph.RBAC.Fluent.ActiveDirectoryUser.Definition.IWithCreate, Microsoft.Azure.Management.Graph.RBAC.Fluent.ActiveDirectoryUser.Definition.IWithPassword, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.Graph.RBAC.Fluent.IActiveDirectoryUser>
type IDefinition = interface
interface IBlank
interface IWithUserPrincipalName
interface IWithUserPrincipalNameBeta
interface IBeta
interface IWithPassword
interface IWithPasswordBeta
interface IWithCreate
interface ICreatable<IActiveDirectoryUser>
interface IIndexable
interface IWithAccontEnabled
interface IWithAccontEnabledBeta
interface IWithPromptToChangePasswordOnLogin
interface IWithPromptToChangePasswordOnLoginBeta
interface IWithUsageLocation
interface IWithUsageLocationBeta
Public Interface IDefinition
Implements IBeta, IBlank, ICreatable(Of IActiveDirectoryUser), IWithCreate, IWithPassword
- 派生
- 实现
-
IBlank IWithAccontEnabled IWithAccontEnabledBeta IWithCreate IWithPassword IWithPasswordBeta IWithPromptToChangePasswordOnLogin IWithPromptToChangePasswordOnLoginBeta IWithUsageLocation IWithUsageLocationBeta IWithUserPrincipalName IWithUserPrincipalNameBeta IBeta ICreatable<IActiveDirectoryUser> IIndexable
属性
Key |
需要实现的所有定义的容器接口。 (继承自 IIndexable) |
Name |
获取可创建资源的名称。 (继承自 ICreatable<T>) |
方法
Create() |
执行创建请求。 (继承自 ICreatable<T>) |
CreateAsync(CancellationToken, Boolean) |
将请求放入队列,并允许 HTTP 客户端在系统资源可用时执行该请求。 (继承自 ICreatable<T>) |
WithAccountEnabled(Boolean) |
指定是否启用用户帐户。 (继承自 IWithAccontEnabledBeta) |
WithEmailAlias(String) |
指定新用户的电子邮件别名。 (继承自 IWithUserPrincipalNameBeta) |
WithPassword(String) |
指定用户的密码。 (继承自 IWithPasswordBeta) |
WithPromptToChangePasswordOnLogin(Boolean) |
指定用户是否应在下次登录时更改密码。 (继承自 IWithPromptToChangePasswordOnLoginBeta) |
WithUsageLocation(CountryISOCode) |
指定用户的使用位置。 对于根据法律要求需向其分配许可证的用户,这是检查服务在相应国家/地区的可用性所必需的。 (继承自 IWithUsageLocationBeta) |
WithUserPrincipalName(String) |
指定用户的用户主体名称。 它必须包含租户的已验证域之一。 (继承自 IWithUserPrincipalNameBeta) |