Class SharingProfileGroup

java.lang.Object
com.azure.resourcemanager.compute.models.SharingProfileGroup

public final class SharingProfileGroup extends Object
Group of the gallery sharing profile.
  • Constructor Details

    • SharingProfileGroup

      public SharingProfileGroup()
  • Method Details

    • type

      public SharingProfileGroupTypes type()
      Get the type property: This property allows you to specify the type of sharing group. <br><br> Possible values are: <br><br> **Subscriptions** <br><br> **AADTenants**.
      Returns:
      the type value.
    • withType

      Set the type property: This property allows you to specify the type of sharing group. <br><br> Possible values are: <br><br> **Subscriptions** <br><br> **AADTenants**.
      Parameters:
      type - the type value to set.
      Returns:
      the SharingProfileGroup object itself.
    • ids

      public List<String> ids()
      Get the ids property: A list of subscription/tenant ids the gallery is aimed to be shared to.
      Returns:
      the ids value.
    • withIds

      public SharingProfileGroup withIds(List<String> ids)
      Set the ids property: A list of subscription/tenant ids the gallery is aimed to be shared to.
      Parameters:
      ids - the ids value to set.
      Returns:
      the SharingProfileGroup object itself.
    • validate

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