Class ResourceType

java.lang.Object
com.azure.core.util.ExpandableStringEnum<ResourceType>
com.azure.resourcemanager.cdn.models.ResourceType

public final class ResourceType extends com.azure.core.util.ExpandableStringEnum<ResourceType>
Type of CDN resource used in CheckNameAvailability.
  • Field Details

    • MICROSOFT_CDN_PROFILES_ENDPOINTS

      public static final ResourceType MICROSOFT_CDN_PROFILES_ENDPOINTS
      Static value Microsoft.Cdn/Profiles/Endpoints for ResourceType.
    • MICROSOFT_CDN_PROFILES_AFD_ENDPOINTS

      public static final ResourceType MICROSOFT_CDN_PROFILES_AFD_ENDPOINTS
      Static value Microsoft.Cdn/Profiles/AfdEndpoints for ResourceType.
  • Constructor Details

    • ResourceType

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

    • fromString

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

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