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

CertificateCredentialImpl<T> 类

定义

ServicePrincipal 及其父接口的实现。

public class CertificateCredentialImpl<T> : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IndexableRefreshableWrapper<Microsoft.Azure.Management.Graph.RBAC.Fluent.ICertificateCredential,Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.KeyCredential>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IBlank<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IDefinition<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IWithAttach<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IWithAuthFile<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IWithAuthFileCertificate<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IWithAuthFileCertificatePassword<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IWithCertificateType<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IWithDuration<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IWithPublicKey<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IWithStartDate<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.Definition.IWithSymmetricKey<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.UpdateDefinition.IBlank<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.UpdateDefinition.IUpdateDefinition<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.UpdateDefinition.IWithAttach<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.UpdateDefinition.IWithAuthFile<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.UpdateDefinition.IWithAuthFileCertificate<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.UpdateDefinition.IWithAuthFileCertificatePassword<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.UpdateDefinition.IWithCertificateType<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.UpdateDefinition.IWithDuration<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.UpdateDefinition.IWithPublicKey<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.UpdateDefinition.IWithStartDate<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.UpdateDefinition.IWithSymmetricKey<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.ICertificateCredential, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<T>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Update.IInUpdate<T>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasId, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.KeyCredential>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasName where T : class
type CertificateCredentialImpl<'T (requires 'T : null)> = class
    inherit IndexableRefreshableWrapper<ICertificateCredential, KeyCredential>
    interface ICertificateCredential
    interface IBeta
    interface ICredential
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasInner<KeyCredential>
    interface IDefinition<'T (requires 'T : null)>
    interface IBlank<'T (requires 'T : null)>
    interface IWithCertificateType<'T (requires 'T : null)>
    interface IWithPublicKey<'T (requires 'T : null)>
    interface IWithSymmetricKey<'T (requires 'T : null)>
    interface IWithAttach<'T (requires 'T : null)>
    interface IInDefinition<'T (requires 'T : null)>
    interface IWithStartDate<'T (requires 'T : null)>
    interface IWithDuration<'T (requires 'T : null)>
    interface IWithAuthFile<'T (requires 'T : null)>
    interface IWithAuthFileCertificate<'T (requires 'T : null)>
    interface IWithAuthFileCertificatePassword<'T (requires 'T : null)>
    interface IUpdateDefinition<'T (requires 'T : null)>
    interface IBlank<'T (requires 'T : null)>
    interface IWithCertificateType<'T (requires 'T : null)>
    interface IWithPublicKey<'T (requires 'T : null)>
    interface IWithSymmetricKey<'T (requires 'T : null)>
    interface IWithAttach<'T (requires 'T : null)>
    interface IInUpdate<'T (requires 'T : null)>
    interface IWithStartDate<'T (requires 'T : null)>
    interface IWithDuration<'T (requires 'T : null)>
    interface IWithAuthFile<'T (requires 'T : null)>
    interface IWithAuthFileCertificate<'T (requires 'T : null)>
    interface IWithAuthFileCertificatePassword<'T (requires 'T : null)>
Public Class CertificateCredentialImpl(Of T)
Inherits IndexableRefreshableWrapper(Of ICertificateCredential, KeyCredential)
Implements IBeta, IBlank(Of T), IBlank(Of T), ICertificateCredential, IDefinition(Of T), IHasId, IHasInner(Of KeyCredential), IHasName, IInDefinition(Of T), IInUpdate(Of T), IUpdateDefinition(Of T), IWithAttach(Of T), IWithAttach(Of T), IWithAuthFile(Of T), IWithAuthFile(Of T), IWithAuthFileCertificate(Of T), IWithAuthFileCertificate(Of T), IWithAuthFileCertificatePassword(Of T), IWithAuthFileCertificatePassword(Of T), IWithCertificateType(Of T), IWithCertificateType(Of T), IWithDuration(Of T), IWithDuration(Of T), IWithPublicKey(Of T), IWithPublicKey(Of T), IWithStartDate(Of T), IWithStartDate(Of T), IWithSymmetricKey(Of T), IWithSymmetricKey(Of T)

类型参数

T
继承
实现

属性

Inner

ServicePrincipal 及其父接口的实现。

(继承自 IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
Key

ServicePrincipal 及其父接口的实现。

(继承自 Indexable)

方法

Attach()

ServicePrincipal 及其父接口的实现。

CustomKeyIdentifier()

ServicePrincipal 及其父接口的实现。

EndDate()

ServicePrincipal 及其父接口的实现。

GetInnerAsync(CancellationToken)

ServicePrincipal 及其父接口的实现。

Id()

ServicePrincipal 及其父接口的实现。

Name()

ServicePrincipal 及其父接口的实现。

Refresh()

ServicePrincipal 及其父接口的实现。

(继承自 IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
RefreshAsync(CancellationToken)

ServicePrincipal 及其父接口的实现。

SetInner(InnerResourceT)

ServicePrincipal 及其父接口的实现。

(继承自 IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
StartDate()

ServicePrincipal 及其父接口的实现。

Value()

ServicePrincipal 及其父接口的实现。

WithAsymmetricX509Certificate()

ServicePrincipal 及其父接口的实现。

WithAuthFileToExport(StreamWriter)

ServicePrincipal 及其父接口的实现。

WithDuration(TimeSpan)

ServicePrincipal 及其父接口的实现。

WithPrivateKeyFile(String)

ServicePrincipal 及其父接口的实现。

WithPrivateKeyPassword(String)

ServicePrincipal 及其父接口的实现。

WithPublicKey(Byte[])

ServicePrincipal 及其父接口的实现。

WithSecretKey(Byte[])

ServicePrincipal 及其父接口的实现。

WithStartDate(DateTime)

ServicePrincipal 及其父接口的实现。

WithSymmetricEncryption()

ServicePrincipal 及其父接口的实现。

显式接口实现

ICertificateCredential.CustomKeyIdentifier

自定义密钥标识符。 如果凭据由具有名称的 .NET SDK 定义,则它是名称的 base64 编码。 如果它是由其他工具设置的,则该值将是该值。 否则,它通常是证书的指纹。

ICredential.EndDate

获取结束日期。

ICredential.StartDate

获取开始日期。

ICredential.Value

获取键值。

IHasId.Id

获取资源 ID 字符串。

IHasName.Name

获取资源的名称。

IInDefinition<T>.Attach()

将子定义附加到父资源定义。

IInUpdate<T>.Attach()

将子定义附加到父资源更新。

IWithAuthFile<T>.WithAuthFileToExport(StreamWriter)

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

IWithAuthFile<T>.WithAuthFileToExport(StreamWriter)

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

IWithAuthFileCertificate<T>.WithPrivateKeyFile(String)

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

IWithAuthFileCertificate<T>.WithPrivateKeyFile(String)

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

IWithAuthFileCertificatePassword<T>.WithPrivateKeyPassword(String)

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

IWithAuthFileCertificatePassword<T>.WithPrivateKeyPassword(String)

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

IWithCertificateType<T>.WithAsymmetricX509Certificate()

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

IWithCertificateType<T>.WithAsymmetricX509Certificate()

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

IWithCertificateType<T>.WithSymmetricEncryption()

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

IWithCertificateType<T>.WithSymmetricEncryption()

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

IWithDuration<T>.WithDuration(TimeSpan)

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

IWithDuration<T>.WithDuration(TimeSpan)

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

IWithPublicKey<T>.WithPublicKey(Byte[])

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

IWithPublicKey<T>.WithPublicKey(Byte[])

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

IWithStartDate<T>.WithStartDate(DateTime)

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

IWithStartDate<T>.WithStartDate(DateTime)

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

IWithSymmetricKey<T>.WithSecretKey(Byte[])

指定对称加密的密钥。

IWithSymmetricKey<T>.WithSecretKey(Byte[])

指定对称加密的密钥。

适用于