Dela via


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.PasswordCredential.Definition.IWithAuthFile<ParentT>, Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.Definition.IWithDuration<ParentT>, Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.Definition.IWithStartDate<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<ParentT>
type IWithAttach<'ParentT> = interface
    interface IInDefinition<'ParentT>
    interface IWithStartDate<'ParentT>
    interface IWithDuration<'ParentT>
    interface IWithAuthFile<'ParentT>
Public Interface IWithAttach(Of ParentT)
Implements IInDefinition(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 IInDefinition<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