Class MhsmPrivateLinkResource

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.keyvault.models.ManagedHsmResource
com.azure.resourcemanager.keyvault.models.MhsmPrivateLinkResource

public final class MhsmPrivateLinkResource extends ManagedHsmResource
A private link resource.
  • Constructor Details

    • MhsmPrivateLinkResource

      public MhsmPrivateLinkResource()
  • Method Details

    • withSku

      public MhsmPrivateLinkResource withSku(ManagedHsmSku sku)
      Set the sku property: SKU details.
      Overrides:
      withSku in class ManagedHsmResource
      Parameters:
      sku - the sku value to set.
      Returns:
      the ManagedHsmResource object itself.
    • withLocation

      public MhsmPrivateLinkResource withLocation(String location)
      Overrides:
      withLocation in class ManagedHsmResource
    • withTags

      public MhsmPrivateLinkResource withTags(Map<String,String> tags)
      Overrides:
      withTags in class ManagedHsmResource
    • groupId

      public String groupId()
      Get the groupId property: Group identifier of private link resource.
      Returns:
      the groupId value.
    • requiredMembers

      public List<String> requiredMembers()
      Get the requiredMembers property: Required member names of private link resource.
      Returns:
      the requiredMembers value.
    • requiredZoneNames

      public List<String> requiredZoneNames()
      Get the requiredZoneNames property: Required DNS zone names of the the private link resource.
      Returns:
      the requiredZoneNames value.
    • withRequiredZoneNames

      public MhsmPrivateLinkResource withRequiredZoneNames(List<String> requiredZoneNames)
      Set the requiredZoneNames property: Required DNS zone names of the the private link resource.
      Parameters:
      requiredZoneNames - the requiredZoneNames value to set.
      Returns:
      the MhsmPrivateLinkResource object itself.
    • validate

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