共用方式為


IWithAttach<ParentT> Interface

Definition

The final stage of the credential definition. At this stage, more settings can be specified, or the credential definition can be attached to the parent application / service principal definition using WithAttach.attach().

public interface IWithAttach<ParentT> : Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.UpdateDefinition.IWithAuthFile<ParentT>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.UpdateDefinition.IWithDuration<ParentT>, Microsoft.Azure.Management.Graph.RBAC.Fluent.CertificateCredential.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)

Type Parameters

ParentT

The return type of WithAttach.attach().

Derived
Implements

Methods

Attach() (Inherited from IInUpdate<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>)
WithStartDate(DateTime)

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

(Inherited from IWithStartDate<ParentT>)

Applies to