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

IDefinition 接口

定义

所有定义的容器接口。

public interface IDefinition : Microsoft.Azure.Management.KeyVault.Fluent.Key.Definition.IBlank, Microsoft.Azure.Management.KeyVault.Fluent.Key.Definition.IWithCreate, Microsoft.Azure.Management.KeyVault.Fluent.Key.Definition.IWithImport, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.ICreatable<Microsoft.Azure.Management.KeyVault.Fluent.IKey>
type IDefinition = interface
    interface IBlank
    interface IWithKey
    interface IWithImport
    interface IWithHsm
    interface IWithCreateBase
    interface ICreatable<IKey>
    interface IIndexable
    interface IWithAttributes
    interface IWithTags
    interface IWithCreate
    interface IWithKeyOperations
    interface IWithKeySize
Public Interface IDefinition
Implements IBlank, ICreatable(Of IKey), IWithCreate, IWithImport
实现

属性

Key

所有定义的容器接口。

(继承自 IIndexable)
Name

获取可创建资源的名称。

(继承自 ICreatable<T>)

方法

Create()

执行创建请求。

(继承自 ICreatable<T>)
CreateAsync(CancellationToken, Boolean)

将请求放入队列,并允许 HTTP 客户端在系统资源可用时执行它。

(继承自 ICreatable<T>)
WithAttributes(Attributes)

指定键的属性。

(继承自 IWithAttributes)
WithHsm(Boolean)

指定是否将密钥存储在硬件安全模块中。

(继承自 IWithHsm)
WithKeyOperations(IList<JsonWebKeyOperation>)

指定允许的键操作的列表。 默认情况下,允许所有操作。

(继承自 IWithKeyOperations)
WithKeyOperations(JsonWebKeyOperation[])

指定允许的键操作的列表。 默认情况下,允许所有操作。

(继承自 IWithKeyOperations)
WithKeySize(Int32)

指定要创建的密钥的大小。

(继承自 IWithKeySize)
WithKeyTypeToCreate(JsonWebKeyType)

指定用于创建新密钥的键类型。

(继承自 IWithKey)
WithLocalKeyToImport(JsonWebKey)

指定要导入的现有密钥。

(继承自 IWithKey)
WithTags(IDictionary<String,String>)

指定密钥上的标记。

(继承自 IWithTags)

适用于