Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ISecrets 接口

定义

密钥保管库机密 API 的入口点。

public interface ISecrets : Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsCreating<Microsoft.Azure.Management.KeyVault.Fluent.Secret.Definition.IBlank>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsDeletingById, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsGettingById<Microsoft.Azure.Management.KeyVault.Fluent.ISecret>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsGettingByName<Microsoft.Azure.Management.KeyVault.Fluent.ISecret>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsGettingByNameAsync<Microsoft.Azure.Management.KeyVault.Fluent.ISecret>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CollectionActions.ISupportsListing<Microsoft.Azure.Management.KeyVault.Fluent.ISecret>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta
type ISecrets = interface
    interface IBeta
    interface ISupportsCreating<IBlank>
    interface ISupportsDeletingById
    interface ISupportsGettingById<ISecret>
    interface ISupportsGettingByNameAsync<ISecret>
    interface ISupportsGettingByName<ISecret>
    interface ISupportsListing<ISecret>
Public Interface ISecrets
Implements IBeta, ISupportsCreating(Of IBlank), ISupportsDeletingById, ISupportsGettingById(Of ISecret), ISupportsGettingByName(Of ISecret), ISupportsGettingByNameAsync(Of ISecret), ISupportsListing(Of ISecret)
实现

方法

Define(String)

密钥保管库机密 API 的入口点。

(继承自 ISupportsCreating<T>)
DeleteById(String)

从 Azure 中删除资源,并按资源 ID 标识该资源。

(继承自 ISupportsDeletingById)
DeleteByIdAsync(String, CancellationToken)

从 Azure 中删除资源,并按资源 ID 标识该资源。

(继承自 ISupportsDeletingById)
GetById(String)

根据资源 ID 从 Azure 获取有关资源的信息。

(继承自 ISupportsGettingById<T>)
GetByIdAsync(String, CancellationToken)

根据资源 ID 从 Azure 获取有关资源的信息。

(继承自 ISupportsGettingById<T>)
GetByName(String)

根据当前资源组中的资源名称,从 Azure 获取有关资源的信息。

(继承自 ISupportsGettingByName<T>)
GetByNameAndVersion(String, String)

获取密钥保管库机密。

GetByNameAndVersionAsync(String, String, CancellationToken)

获取密钥保管库机密。

GetByNameAsync(String, CancellationToken)

根据当前资源组中的资源名称,从 Azure 获取有关资源的信息。

(继承自 ISupportsGettingByName<T>)
List()

列出当前所选订阅中指定类型的所有资源。

(继承自 ISupportsListing<T>)
ListAsync(Boolean, CancellationToken)

列出当前所选订阅中指定类型的所有资源。

(继承自 ISupportsListing<T>)

适用于