你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
PasswordCredentialImpl<T> 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
ServicePrincipal 及其父接口的实现。
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)
类型参数
- T
- 继承
-
PasswordCredentialImpl<T>
- 实现
-
ICredential IPasswordCredential IBlank<ParentT> IBlank<T> IDefinition<T> IWithAttach<ParentT> IWithAttach<T> IWithAuthFile<ParentT> IWithAuthFile<T> IWithDuration<ParentT> IWithDuration<T> IWithKey<ParentT> IWithKey<T> IWithStartDate<ParentT> IWithStartDate<T> IBlank<ParentT> IBlank<T> IUpdateDefinition<T> IWithAttach<ParentT> IWithAttach<T> IWithAuthFile<ParentT> IWithAuthFile<T> IWithDuration<ParentT> IWithDuration<T> IWithKey<ParentT> IWithKey<T> IWithStartDate<ParentT> IWithStartDate<T> IInDefinition<ParentT> IInDefinition<T> IInUpdate<ParentT> IInUpdate<T> IBeta IHasId IHasInner<PasswordCredential> IHasName IIndexable
属性
Inner |
ServicePrincipal 及其父接口的实现。 (继承自 IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>) |
Key |
ServicePrincipal 及其父接口的实现。 (继承自 Indexable) |
方法
Attach() |
ServicePrincipal 及其父接口的实现。 |
EndDate() |
ServicePrincipal 及其父接口的实现。 |
GetInnerAsync(CancellationToken) |
ServicePrincipal 及其父接口的实现。 |
Id() |
ServicePrincipal 及其父接口的实现。 |
Name() |
ServicePrincipal 及其父接口的实现。 |
Refresh() |
ServicePrincipal 及其父接口的实现。 (继承自 IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>) |
RefreshAsync(CancellationToken) |
ServicePrincipal 及其父接口的实现。 |
SetInner(InnerResourceT) |
ServicePrincipal 及其父接口的实现。 (继承自 IndexableRefreshableWrapper<IFluentResourceT,InnerResourceT>) |
StartDate() |
ServicePrincipal 及其父接口的实现。 |
Value() |
ServicePrincipal 及其父接口的实现。 |
WithAuthFileToExport(StreamWriter) |
ServicePrincipal 及其父接口的实现。 |
WithDuration(TimeSpan) |
ServicePrincipal 及其父接口的实现。 |
WithPasswordValue(String) |
ServicePrincipal 及其父接口的实现。 |
WithStartDate(DateTime) |
ServicePrincipal 及其父接口的实现。 |
显式接口实现
ICredential.EndDate |
获取结束日期。 |
ICredential.StartDate |
获取开始日期。 |
ICredential.Value |
获取键值。 |
IHasId.Id |
获取资源 ID 字符串。 |
IHasName.Name |
获取资源的名称。 |
IInDefinition<T>.Attach() |
将子定义附加到父资源 definiton。 |
IInUpdate<T>.Attach() |
将子定义附加到父资源更新。 |
IWithAuthFile<T>.WithAuthFileToExport(StreamWriter) |
将此服务主体的信息导出到身份验证文件中。 |
IWithAuthFile<T>.WithAuthFileToExport(StreamWriter) |
将此服务主体的信息导出到身份验证文件中。 |
IWithDuration<T>.WithDuration(TimeSpan) |
指定密码或密钥的有效持续时间。 默认值为 1 年。 |
IWithDuration<T>.WithDuration(TimeSpan) |
指定密码或密钥的有效持续时间。 默认值为 1 年。 |
IWithKey<T>.WithPasswordValue(String) |
使用密码作为密钥。 |
IWithKey<T>.WithPasswordValue(String) |
使用密码作为密钥。 |
IWithStartDate<T>.WithStartDate(DateTime) |
指定密码或密钥生效的开始日期。 默认值为当前时间。 |
IWithStartDate<T>.WithStartDate(DateTime) |
指定密码或密钥生效的开始日期。 默认值为当前时间。 |