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

IWithAttach<ParentT> 接口

定义

凭据定义的最后一个阶段。 在此阶段,可以指定更多设置,也可以使用 WithAttach.attach () 将凭据定义附加到父应用程序/服务主体定义。

public interface IWithAttach<ParentT> : Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.UpdateDefinition.IWithAuthFile<ParentT>, Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.UpdateDefinition.IWithDuration<ParentT>, Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.UpdateDefinition.IWithStartDate<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Update.IInUpdate<ParentT>
type IWithAttach<'ParentT> = interface
    interface IInUpdate<'ParentT>
    interface IWithStartDate<'ParentT>
    interface IWithDuration<'ParentT>
    interface IWithAuthFile<'ParentT>
Public Interface IWithAttach(Of ParentT)
Implements IInUpdate(Of ParentT), IWithAuthFile(Of ParentT), IWithDuration(Of ParentT), IWithStartDate(Of ParentT)

类型参数

ParentT

WithAttach.attach () 的返回类型。

派生
实现

方法

Attach()

凭据定义的最后一个阶段。 在此阶段,可以指定更多设置,也可以使用 WithAttach.attach () 将凭据定义附加到父应用程序/服务主体定义。

(继承自 IInUpdate<ParentT>)
WithAuthFileToExport(StreamWriter)

将此服务主体的信息导出到身份验证文件中。

(继承自 IWithAuthFile<ParentT>)
WithDuration(TimeSpan)

指定密码或密钥的有效持续时间。 默认值为 1 年。

(继承自 IWithDuration<ParentT>)
WithStartDate(DateTime)

指定密码或密钥生效的开始日期。 默认值为当前时间。

(继承自 IWithStartDate<ParentT>)

适用于