Class HttpsRedirect
java.lang.Object
com.azure.core.util.ExpandableStringEnum<HttpsRedirect>
com.azure.resourcemanager.cdn.models.HttpsRedirect
Whether to automatically redirect HTTP traffic to HTTPS traffic. Note that this is a easy way to set up this rule and
it will be the first rule that gets executed.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HttpsRedirectStatic value Disabled for HttpsRedirect.static final HttpsRedirectStatic value Enabled for HttpsRedirect. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HttpsRedirectfromString(String name) Creates or finds a HttpsRedirect from its string representation.static Collection<HttpsRedirect>values()Gets known HttpsRedirect values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ENABLED
Static value Enabled for HttpsRedirect. -
DISABLED
Static value Disabled for HttpsRedirect.
-
-
Constructor Details
-
HttpsRedirect
public HttpsRedirect()
-
-
Method Details
-
fromString
Creates or finds a HttpsRedirect from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding HttpsRedirect.
-
values
Gets known HttpsRedirect values.- Returns:
- known HttpsRedirect values.
-