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

IDefinition<ParentT> 接口

定义

凭据定义的全部。

public interface IDefinition<ParentT> : Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IBlank<ParentT>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IWithAttach<ParentT>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IWithAuthFile<ParentT>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IWithAuthFileCertificate<ParentT>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IWithAuthFileCertificatePassword<ParentT>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IWithCertificateType<ParentT>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IWithDuration<ParentT>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IWithPublicKey<ParentT>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IWithStartDate<ParentT>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IWithSymmetricKey<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<ParentT>
type IDefinition<'ParentT> = interface
    interface IBlank<'ParentT>
    interface IWithCertificateType<'ParentT>
    interface IWithPublicKey<'ParentT>
    interface IWithSymmetricKey<'ParentT>
    interface IWithAttach<'ParentT>
    interface IInDefinition<'ParentT>
    interface IWithStartDate<'ParentT>
    interface IWithDuration<'ParentT>
    interface IWithAuthFile<'ParentT>
    interface IWithAuthFileCertificate<'ParentT>
    interface IWithAuthFileCertificatePassword<'ParentT>
Public Interface IDefinition(Of ParentT)
Implements IBlank(Of ParentT), IInDefinition(Of ParentT), IWithAttach(Of ParentT), IWithAuthFile(Of ParentT), IWithAuthFileCertificate(Of ParentT), IWithAuthFileCertificatePassword(Of ParentT), IWithCertificateType(Of ParentT), IWithDuration(Of ParentT), IWithPublicKey(Of ParentT), IWithStartDate(Of ParentT), IWithSymmetricKey(Of ParentT)

类型参数

ParentT

最终 Attachable.attach () 的返回类型。

派生
实现

方法

Attach()

凭据定义的全部。

(继承自 IInDefinition<ParentT>)
WithAsymmetricX509Certificate()

指定要为非对称 X509 的证书类型。

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

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

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

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

(继承自 IWithDuration<ParentT>)
WithPrivateKeyFile(String)

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

(继承自 IWithAuthFileCertificate<ParentT>)
WithPrivateKeyPassword(String)

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

(继承自 IWithAuthFileCertificatePassword<ParentT>)
WithPublicKey(Byte[])

指定非对称 X509 证书的公钥。

(继承自 IWithPublicKey<ParentT>)
WithSecretKey(Byte[])

指定对称加密的密钥。

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

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

(继承自 IWithStartDate<ParentT>)
WithSymmetricEncryption()

指定要对称的证书的类型。

(继承自 IWithCertificateType<ParentT>)

适用于