Share via


Key Class

The key resource.

Constructor

Key(*args: Any, **kwargs: Any)

Variables

Name Description
id
str

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
str

The name of the resource.

type
str

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

system_data

Azure Resource Manager metadata containing createdBy and modifiedBy information.

properties

The properties of the key. Required.

location
str

The supported Azure location where the managed HSM Pool should be created.

tags

Resource tags.

Attributes

location

The supported Azure location where the managed HSM Pool should be created.

location: str | None

properties

The properties of the key. Required.

properties: _models.KeyProperties

tags

Resource tags.

tags: dict[str, str] | None