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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Creates an instance of ManagedHsmResource class.
  • Method Summary

    Modifier and Type
    Method
    Description
    fromJson(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.
    Get the identity property: Managed service identity (system assigned and/or user assigned identities).
    Get the location property: The supported Azure location where the managed HSM Pool should be created.
    Get the name property: The name of the managed HSM Pool.
    sku()
    Get the sku property: SKU details.
    com.azure.core.management.SystemData
    Get the systemData property: Metadata pertaining to creation and last modification of the key vault resource.
    Get the tags property: Resource tags.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    Get the type property: The resource type of the managed HSM Pool.
    void
    Validates the instance.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods 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

      public String id()
      Get the id property: The Azure Resource Manager resource ID for the managed HSM Pool.
      Returns:
      the id value.
    • name

      public String name()
      Get the name property: The name of the managed HSM Pool.
      Returns:
      the name value.
    • type

      public String type()
      Get the type property: The resource type of the managed HSM Pool.
      Returns:
      the type value.
    • location

      public String location()
      Get the location property: The supported Azure location where the managed HSM Pool should be created.
      Returns:
      the location value.
    • sku

      public ManagedHsmSku sku()
      Get the sku property: SKU details.
      Returns:
      the sku value.
    • tags

      public Map<String,String> tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • 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

      public ManagedServiceIdentity 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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<ManagedHsmResource>
      Throws:
      IOException
    • fromJson

      public static ManagedHsmResource fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.