150 строки
10 KiB
YAML
150 строки
10 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.cdn.models.GeoFilter"
|
|
fullName: "com.azure.resourcemanager.cdn.models.GeoFilter"
|
|
name: "GeoFilter"
|
|
nameWithType: "GeoFilter"
|
|
summary: "Rules defining user's geo access within a CDN endpoint."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **GeoFilter**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.cdn.models.GeoFilter?alt=com.azure.resourcemanager.cdn.models.GeoFilter&text=GeoFilter\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.cdn.models.GeoFilter.GeoFilter()"
|
|
fullName: "com.azure.resourcemanager.cdn.models.GeoFilter.GeoFilter()"
|
|
name: "GeoFilter()"
|
|
nameWithType: "GeoFilter.GeoFilter()"
|
|
summary: "Creates an instance of Geo<wbr>Filter class."
|
|
syntax: "public GeoFilter()"
|
|
desc: "Creates an instance of GeoFilter class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.cdn.models.GeoFilter.action()"
|
|
fullName: "com.azure.resourcemanager.cdn.models.GeoFilter.action()"
|
|
name: "action()"
|
|
nameWithType: "GeoFilter.action()"
|
|
summary: "Get the action property: Action of the geo filter, i.<wbr>e."
|
|
syntax: "public GeoFilterActions action()"
|
|
desc: "Get the action property: Action of the geo filter, i.e. allow or block access."
|
|
returns:
|
|
description: "the action value."
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.GeoFilterActions?alt=com.azure.resourcemanager.cdn.models.GeoFilterActions&text=GeoFilterActions\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.GeoFilter.countryCodes()"
|
|
fullName: "com.azure.resourcemanager.cdn.models.GeoFilter.countryCodes()"
|
|
name: "countryCodes()"
|
|
nameWithType: "GeoFilter.countryCodes()"
|
|
summary: "Get the country<wbr>Codes property: Two letter country or region codes defining user country or region access in a geo filter, e.<wbr>g."
|
|
syntax: "public List<String> countryCodes()"
|
|
desc: "Get the countryCodes property: Two letter country or region codes defining user country or region access in a geo filter, e.g. AU, MX, US."
|
|
returns:
|
|
description: "the countryCodes value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
- uid: "com.azure.resourcemanager.cdn.models.GeoFilter.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.GeoFilter.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "GeoFilter.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Geo<wbr>Filter from the Json<wbr>Reader."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The JsonReader being read."
|
|
name: "jsonReader"
|
|
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static GeoFilter fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If the deserialized JSON object was missing any required properties."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of GeoFilter from the JsonReader."
|
|
returns:
|
|
description: "An instance of GeoFilter if the JsonReader was pointing to an instance of it, or null if it was pointing\n to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.GeoFilter?alt=com.azure.resourcemanager.cdn.models.GeoFilter&text=GeoFilter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.GeoFilter.relativePath()"
|
|
fullName: "com.azure.resourcemanager.cdn.models.GeoFilter.relativePath()"
|
|
name: "relativePath()"
|
|
nameWithType: "GeoFilter.relativePath()"
|
|
summary: "Get the relative<wbr>Path property: Relative path applicable to geo filter."
|
|
syntax: "public String relativePath()"
|
|
desc: "Get the relativePath property: Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.)."
|
|
returns:
|
|
description: "the relativePath value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.cdn.models.GeoFilter.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.GeoFilter.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "GeoFilter.toJson(JsonWriter jsonWriter)"
|
|
parameters:
|
|
- name: "jsonWriter"
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.GeoFilter.validate()"
|
|
fullName: "com.azure.resourcemanager.cdn.models.GeoFilter.validate()"
|
|
name: "validate()"
|
|
nameWithType: "GeoFilter.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.cdn.models.GeoFilter.withAction(com.azure.resourcemanager.cdn.models.GeoFilterActions)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.GeoFilter.withAction(GeoFilterActions action)"
|
|
name: "withAction(GeoFilterActions action)"
|
|
nameWithType: "GeoFilter.withAction(GeoFilterActions action)"
|
|
summary: "Set the action property: Action of the geo filter, i.<wbr>e."
|
|
parameters:
|
|
- description: "the action value to set."
|
|
name: "action"
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.GeoFilterActions?alt=com.azure.resourcemanager.cdn.models.GeoFilterActions&text=GeoFilterActions\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public GeoFilter withAction(GeoFilterActions action)"
|
|
desc: "Set the action property: Action of the geo filter, i.e. allow or block access."
|
|
returns:
|
|
description: "the GeoFilter object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.GeoFilter?alt=com.azure.resourcemanager.cdn.models.GeoFilter&text=GeoFilter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.GeoFilter.withCountryCodes(java.util.List<java.lang.String>)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.GeoFilter.withCountryCodes(List<String> countryCodes)"
|
|
name: "withCountryCodes(List<String> countryCodes)"
|
|
nameWithType: "GeoFilter.withCountryCodes(List<String> countryCodes)"
|
|
summary: "Set the country<wbr>Codes property: Two letter country or region codes defining user country or region access in a geo filter, e.<wbr>g."
|
|
parameters:
|
|
- description: "the countryCodes value to set."
|
|
name: "countryCodes"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>>"
|
|
syntax: "public GeoFilter withCountryCodes(List<String> countryCodes)"
|
|
desc: "Set the countryCodes property: Two letter country or region codes defining user country or region access in a geo filter, e.g. AU, MX, US."
|
|
returns:
|
|
description: "the GeoFilter object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.GeoFilter?alt=com.azure.resourcemanager.cdn.models.GeoFilter&text=GeoFilter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.cdn.models.GeoFilter.withRelativePath(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.cdn.models.GeoFilter.withRelativePath(String relativePath)"
|
|
name: "withRelativePath(String relativePath)"
|
|
nameWithType: "GeoFilter.withRelativePath(String relativePath)"
|
|
summary: "Set the relative<wbr>Path property: Relative path applicable to geo filter."
|
|
parameters:
|
|
- description: "the relativePath value to set."
|
|
name: "relativePath"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public GeoFilter withRelativePath(String relativePath)"
|
|
desc: "Set the relativePath property: Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.)."
|
|
returns:
|
|
description: "the GeoFilter object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.cdn.models.GeoFilter?alt=com.azure.resourcemanager.cdn.models.GeoFilter&text=GeoFilter\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "Rules defining user's geo access within a CDN endpoint."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.cdn.models.GeoFilter?alt=com.azure.resourcemanager.cdn.models.GeoFilter&text=GeoFilter\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.cdn.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-cdn:2.42.0
|