共用方式為


PasswordCredentialImpl<T> Class

Definition

Implementation for ServicePrincipal and its parent interfaces.

public class PasswordCredentialImpl<T> : Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IndexableRefreshableWrapper<Microsoft.Azure.Management.Graph.RBAC.Fluent.IPasswordCredential,Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.PasswordCredential>, Microsoft.Azure.Management.Graph.RBAC.Fluent.IPasswordCredential, Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.Definition.IBlank<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.Definition.IDefinition<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.Definition.IWithAttach<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.Definition.IWithAuthFile<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.Definition.IWithDuration<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.Definition.IWithKey<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.Definition.IWithStartDate<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.UpdateDefinition.IBlank<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.UpdateDefinition.IUpdateDefinition<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.UpdateDefinition.IWithAttach<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.UpdateDefinition.IWithAuthFile<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.UpdateDefinition.IWithDuration<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.UpdateDefinition.IWithKey<T>, Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.UpdateDefinition.IWithStartDate<T>, 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.PasswordCredential>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasName where T : class
type PasswordCredentialImpl<'T (requires 'T : null)> = class
    inherit IndexableRefreshableWrapper<IPasswordCredential, PasswordCredential>
    interface IPasswordCredential
    interface IBeta
    interface ICredential
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasInner<PasswordCredential>
    interface IDefinition<'T (requires 'T : null)>
    interface IBlank<'T (requires 'T : null)>
    interface IWithKey<'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 IUpdateDefinition<'T (requires 'T : null)>
    interface IBlank<'T (requires 'T : null)>
    interface IWithKey<'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)>
Public Class PasswordCredentialImpl(Of T)
Inherits IndexableRefreshableWrapper(Of IPasswordCredential, PasswordCredential)
Implements IBeta, IBlank(Of T), IBlank(Of T), IDefinition(Of T), IHasId, IHasInner(Of PasswordCredential), IHasName, IInDefinition(Of T), IInUpdate(Of T), IPasswordCredential, IUpdateDefinition(Of T), IWithAttach(Of T), IWithAttach(Of T), IWithAuthFile(Of T), IWithAuthFile(Of T), IWithDuration(Of T), IWithDuration(Of T), IWithKey(Of T), IWithKey(Of T), IWithStartDate(Of T), IWithStartDate(Of T)

Type Parameters

T
Inheritance
Implements

Properties

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

Methods

Attach()
EndDate()
GetInnerAsync(CancellationToken)
Id()
Name()
Refresh() (Inherited from IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
RefreshAsync(CancellationToken)
SetInner(InnerResourceT) (Inherited from IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>)
StartDate()
Value()
WithAuthFileToExport(StreamWriter)
WithDuration(TimeSpan)
WithPasswordValue(String)
WithStartDate(DateTime)

Explicit Interface Implementations

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.

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.

IWithKey<T>.WithPasswordValue(String)

Use a password as a key.

IWithKey<T>.WithPasswordValue(String)

Use a password as a key.

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.

Applies to