您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

IDefinition<ParentT> Interface

Definition

The entirety of a credential definition.

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)

Type Parameters

ParentT

The return type of the final Attachable.attach().

Derived
Implements

Methods

Attach() (Inherited from IInDefinition<ParentT>)
WithAsymmetricX509Certificate()

Specifies the type of the certificate to be Asymmetric X509.

(Inherited from IWithCertificateType<ParentT>)
WithAuthFileToExport(StreamWriter)

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

(Inherited from IWithAuthFile<ParentT>)
WithDuration(TimeSpan)

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

(Inherited from IWithDuration<ParentT>)
WithPrivateKeyFile(String)

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

(Inherited from IWithAuthFileCertificate<ParentT>)
WithPrivateKeyPassword(String)

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

(Inherited from IWithAuthFileCertificatePassword<ParentT>)
WithPublicKey(Byte[])

Specifies the public key for an asymmetric X509 certificate.

(Inherited from IWithPublicKey<ParentT>)
WithSecretKey(Byte[])

Specifies the secret key for a symmetric encryption.

(Inherited from IWithSymmetricKey<ParentT>)
WithStartDate(DateTime)

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

(Inherited from IWithStartDate<ParentT>)
WithSymmetricEncryption()

Specifies the type of the certificate to be symmetric.

(Inherited from IWithCertificateType<ParentT>)

Applies to