Share via


IDefinition<ParentT> Interface

Definition

The entirety of a credential definition.

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

Type Parameters

ParentT

The return type of the final Attachable.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>)
WithPasswordValue(String)

Use a password as a key.

(Inherited from IWithKey<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