Class SharingScope

java.lang.Object
com.azure.core.util.ExpandableStringEnum<SharingScope>
com.azure.resourcemanager.network.models.SharingScope
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class SharingScope extends com.azure.core.util.ExpandableStringEnum<SharingScope>
Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.
  • Field Details

    • TENANT

      public static final SharingScope TENANT
      Static value Tenant for SharingScope.
    • DELEGATED_SERVICES

      public static final SharingScope DELEGATED_SERVICES
      Static value DelegatedServices for SharingScope.
  • Constructor Details

    • SharingScope

      @Deprecated public SharingScope()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of SharingScope value.
  • Method Details

    • fromString

      public static SharingScope fromString(String name)
      Creates or finds a SharingScope from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding SharingScope.
    • values

      public static Collection<SharingScope> values()
      Gets known SharingScope values.
      Returns:
      known SharingScope values.