Udostępnij za pośrednictwem


CertificateCredentialImpl<T> Class

Definition

Implementation for ServicePrincipal and its parent interfaces.

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)

Type Parameters

T
Inheritance
Implements

Properties

Inner (Inherited from IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
Key (Inherited from Indexable)

Methods

Attach()
CustomKeyIdentifier()
EndDate()
GetInnerAsync(CancellationToken)
Id()
Name()
Refresh() (Inherited from IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
RefreshAsync(CancellationToken)
SetInner(InnerResourceT) (Inherited from IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
StartDate()
Value()
WithAsymmetricX509Certificate()
WithAuthFileToExport(StreamWriter)
WithDuration(TimeSpan)
WithPrivateKeyFile(String)
WithPrivateKeyPassword(String)
WithPublicKey(Byte[])
WithSecretKey(Byte[])
WithStartDate(DateTime)
WithSymmetricEncryption()

Explicit Interface Implementations

ICertificateCredential.CustomKeyIdentifier

Custom Key Identifier. If the credential is defined by .NET SDK with name, it would be the base64 encoding of name. If it is set by other tools, it would be that value. Otherwise, it would usually be the thumbprint of certificate.

ICredential.EndDate

Gets end date.

ICredential.StartDate

Gets start date.

ICredential.Value

Gets key value.

IHasId.Id

Gets the resource ID string.

IHasName.Name

Gets the name of the resource.

IInDefinition<T>.Attach()

Attaches the child definition to the parent resource definiton.

IInUpdate<T>.Attach()

Attaches the child definition to the parent resource update.

IWithAuthFile<T>.WithAuthFileToExport(StreamWriter)

Export the information of this service principal into an auth file.

IWithAuthFile<T>.WithAuthFileToExport(StreamWriter)

Export the information of this service principal into an auth file.

IWithAuthFileCertificate<T>.WithPrivateKeyFile(String)

Export the information of this service principal into an auth file.

IWithAuthFileCertificate<T>.WithPrivateKeyFile(String)

Export the information of this service principal into an auth file.

IWithAuthFileCertificatePassword<T>.WithPrivateKeyPassword(String)

Export the information of this service principal into an auth file.

IWithAuthFileCertificatePassword<T>.WithPrivateKeyPassword(String)

Export the information of this service principal into an auth file.

IWithCertificateType<T>.WithAsymmetricX509Certificate()

Specifies the type of the certificate to be Asymmetric X509.

IWithCertificateType<T>.WithAsymmetricX509Certificate()

Specifies the type of the certificate to be asymmetric X509.

IWithCertificateType<T>.WithSymmetricEncryption()

Specifies the type of the certificate to be symmetric.

IWithCertificateType<T>.WithSymmetricEncryption()

Specifies the type of the certificate to be symmetric.

IWithDuration<T>.WithDuration(TimeSpan)

Specifies the duration for which password or key would be valid. Default value is 1 year.

IWithDuration<T>.WithDuration(TimeSpan)

Specifies the duration for which password or key would be valid. Default value is 1 year.

IWithPublicKey<T>.WithPublicKey(Byte[])

Specifies the public key for an asymmetric X509 certificate.

IWithPublicKey<T>.WithPublicKey(Byte[])

Specifies the public key for an asymmetric X509 certificate.

IWithStartDate<T>.WithStartDate(DateTime)

Specifies the start date after which password or key would be valid. Default value is current time.

IWithStartDate<T>.WithStartDate(DateTime)

Specifies the start date after which password or key would be valid. Default value is current time.

IWithSymmetricKey<T>.WithSecretKey(Byte[])

Specifies the secret key for a symmetric encryption.

IWithSymmetricKey<T>.WithSecretKey(Byte[])

Specifies the secret key for a symmetric encryption.

Applies to