Class ManagedHsmResource
java.lang.Object
com.azure.resourcemanager.keyvault.models.ManagedHsmResource
- All Implemented Interfaces:
com.azure.json.JsonSerializable<ManagedHsmResource>
- Direct Known Subclasses:
MhsmPrivateLinkResource
public class ManagedHsmResource
extends Object
implements com.azure.json.JsonSerializable<ManagedHsmResource>
Managed HSM resource.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreates an instance of ManagedHsmResource class. -
Method Summary
Modifier and TypeMethodDescriptionstatic ManagedHsmResourcefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ManagedHsmResource from the JsonReader.id()Get the id property: The Azure Resource Manager resource ID for the managed HSM Pool.identity()Get the identity property: Managed service identity (system assigned and/or user assigned identities).location()Get the location property: The supported Azure location where the managed HSM Pool should be created.name()Get the name property: The name of the managed HSM Pool.sku()Get the sku property: SKU details.com.azure.core.management.SystemDataGet the systemData property: Metadata pertaining to creation and last modification of the key vault resource.tags()Get the tags property: Resource tags.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The resource type of the managed HSM Pool.voidvalidate()Validates the instance.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
ManagedHsmResource
protected ManagedHsmResource()Creates an instance of ManagedHsmResource class.
-
-
Method Details
-
id
Get the id property: The Azure Resource Manager resource ID for the managed HSM Pool.- Returns:
- the id value.
-
name
Get the name property: The name of the managed HSM Pool.- Returns:
- the name value.
-
type
Get the type property: The resource type of the managed HSM Pool.- Returns:
- the type value.
-
location
Get the location property: The supported Azure location where the managed HSM Pool should be created.- Returns:
- the location value.
-
sku
-
tags
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the key vault resource.- Returns:
- the systemData value.
-
identity
Get the identity property: Managed service identity (system assigned and/or user assigned identities).- Returns:
- the identity value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ManagedHsmResource>- Throws:
IOException
-
fromJson
Reads an instance of ManagedHsmResource from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of ManagedHsmResource if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the ManagedHsmResource.
-