次の方法で共有


PasswordCredentialImpl<T>.IWithDuration<T>.WithDuration メソッド

定義

パスワードまたはキーが有効になる期間を指定します。 既定値は 1 年です。

Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.Definition.IWithAttach<T> IWithDuration<T>.WithDuration (TimeSpan duration);
abstract member Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.Definition.IWithDuration<T>.WithDuration : TimeSpan -> Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.Definition.IWithAttach<'T (requires 'T : null)>
override this.Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.Definition.IWithDuration<T>.WithDuration : TimeSpan -> Microsoft.Azure.Management.Graph.RBAC.Fluent.PasswordCredential.Definition.IWithAttach<'T (requires 'T : null)>
Function WithDuration (duration As TimeSpan) As IWithAttach(Of T) Implements IWithDuration(Of T).WithDuration

パラメーター

duration
TimeSpan

有効期間。

戻り値

実装

適用対象