Class ManagedHsmResource

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.keyvault.models.ManagedHsmResource
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
Direct Known Subclasses:
ManagedHsmInner, MhsmPrivateEndpointConnectionInner, MhsmPrivateLinkResource

public class ManagedHsmResource extends com.azure.core.management.Resource
Managed HSM resource.
  • Constructor Details

    • ManagedHsmResource

      public ManagedHsmResource()
      Creates an instance of ManagedHsmResource class.
  • Method Details

    • sku

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

      public ManagedHsmResource withSku(ManagedHsmSku sku)
      Set the sku property: SKU details.
      Parameters:
      sku - the sku value to set.
      Returns:
      the ManagedHsmResource object itself.
    • 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.
    • withIdentity

      public ManagedHsmResource withIdentity(ManagedServiceIdentity identity)
      Set the identity property: Managed service identity (system assigned and/or user assigned identities).
      Parameters:
      identity - the identity value to set.
      Returns:
      the ManagedHsmResource object itself.
    • withLocation

      public ManagedHsmResource withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public ManagedHsmResource withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.