azure-docs-sdk-java/legacy/docs-ref-autogen/com.microsoft.azure.managem...

108 строки
7.4 KiB
YAML

### YamlMime:JavaType
uid: "com.microsoft.azure.management.cdn.GeoFilter"
fullName: "com.microsoft.azure.management.cdn.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: "<xref href=\"java.lang.Object?alt=java.lang.Object&text=Object\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"java.lang.Object.clone()?alt=java.lang.Object.clone&text=clone\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.equals(java.lang.Object)?alt=java.lang.Object.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.finalize()?alt=java.lang.Object.finalize&text=finalize\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.getClass()?alt=java.lang.Object.getClass&text=getClass\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.hashCode()?alt=java.lang.Object.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notify()?alt=java.lang.Object.notify&text=notify\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.notifyAll()?alt=java.lang.Object.notifyAll&text=notifyAll\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.toString()?alt=java.lang.Object.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait()?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"java.lang.Object.wait(long,int)?alt=java.lang.Object.wait&text=wait\" data-throw-if-not-resolved=\"False\" />"
syntax: "public class **GeoFilter**"
constructors:
- uid: "com.microsoft.azure.management.cdn.GeoFilter.GeoFilter()"
fullName: "com.microsoft.azure.management.cdn.GeoFilter.GeoFilter()"
name: "GeoFilter()"
nameWithType: "GeoFilter.GeoFilter()"
syntax: "public GeoFilter()"
methods:
- uid: "com.microsoft.azure.management.cdn.GeoFilter.action()"
fullName: "com.microsoft.azure.management.cdn.GeoFilter.action()"
name: "action()"
nameWithType: "GeoFilter.action()"
summary: "Get action of the geo filter, i.<wbr>e."
syntax: "public GeoFilterActions action()"
desc: "Get action of the geo filter, i.e. allow or block access. Possible values include: 'Block', 'Allow'."
returns:
description: "the action value"
type: "<xref href=\"com.microsoft.azure.management.cdn.GeoFilterActions?alt=com.microsoft.azure.management.cdn.GeoFilterActions&text=GeoFilterActions\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.GeoFilter.countryCodes()"
fullName: "com.microsoft.azure.management.cdn.GeoFilter.countryCodes()"
name: "countryCodes()"
nameWithType: "GeoFilter.countryCodes()"
summary: "Get two letter country codes defining user country access in a geo filter, e.<wbr>g."
syntax: "public List<String> countryCodes()"
desc: "Get two letter country codes defining user country access in a geo filter, e.g. AU, MX, US."
returns:
description: "the countryCodes value"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.microsoft.azure.management.cdn.GeoFilter.relativePath()"
fullName: "com.microsoft.azure.management.cdn.GeoFilter.relativePath()"
name: "relativePath()"
nameWithType: "GeoFilter.relativePath()"
summary: "Get relative path applicable to geo filter."
syntax: "public String relativePath()"
desc: "Get relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.)."
returns:
description: "the relativePath value"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.GeoFilter.withAction(com.microsoft.azure.management.cdn.GeoFilterActions)"
fullName: "com.microsoft.azure.management.cdn.GeoFilter.withAction(GeoFilterActions action)"
name: "withAction(GeoFilterActions action)"
nameWithType: "GeoFilter.withAction(GeoFilterActions action)"
summary: "Set action of the geo filter, i.<wbr>e."
parameters:
- description: "the action value to set"
name: "action"
type: "<xref href=\"com.microsoft.azure.management.cdn.GeoFilterActions?alt=com.microsoft.azure.management.cdn.GeoFilterActions&text=GeoFilterActions\" data-throw-if-not-resolved=\"False\" />"
syntax: "public GeoFilter withAction(GeoFilterActions action)"
desc: "Set action of the geo filter, i.e. allow or block access. Possible values include: 'Block', 'Allow'."
returns:
description: "the GeoFilter object itself."
type: "<xref href=\"com.microsoft.azure.management.cdn.GeoFilter?alt=com.microsoft.azure.management.cdn.GeoFilter&text=GeoFilter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.GeoFilter.withCountryCodes(java.util.List<java.lang.String>)"
fullName: "com.microsoft.azure.management.cdn.GeoFilter.withCountryCodes(List<String> countryCodes)"
name: "withCountryCodes(List<String> countryCodes)"
nameWithType: "GeoFilter.withCountryCodes(List<String> countryCodes)"
summary: "Set two letter country codes defining user country access in a geo filter, e.<wbr>g."
parameters:
- description: "the countryCodes value to set"
name: "countryCodes"
type: "<xref href=\"java.util.List?alt=java.util.List&text=List\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public GeoFilter withCountryCodes(List<String> countryCodes)"
desc: "Set two letter country codes defining user country access in a geo filter, e.g. AU, MX, US."
returns:
description: "the GeoFilter object itself."
type: "<xref href=\"com.microsoft.azure.management.cdn.GeoFilter?alt=com.microsoft.azure.management.cdn.GeoFilter&text=GeoFilter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.microsoft.azure.management.cdn.GeoFilter.withRelativePath(java.lang.String)"
fullName: "com.microsoft.azure.management.cdn.GeoFilter.withRelativePath(String relativePath)"
name: "withRelativePath(String relativePath)"
nameWithType: "GeoFilter.withRelativePath(String relativePath)"
summary: "Set relative path applicable to geo filter."
parameters:
- description: "the relativePath value to set"
name: "relativePath"
type: "<xref href=\"java.lang.String?alt=java.lang.String&text=String\" data-throw-if-not-resolved=\"False\" />"
syntax: "public GeoFilter withRelativePath(String relativePath)"
desc: "Set relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.)."
returns:
description: "the GeoFilter object itself."
type: "<xref href=\"com.microsoft.azure.management.cdn.GeoFilter?alt=com.microsoft.azure.management.cdn.GeoFilter&text=GeoFilter\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Rules defining user's geo access within a CDN endpoint."
metadata: {}
package: "com.microsoft.azure.management.cdn"
artifact: com.microsoft.azure:azure-mgmt-cdn:1.41.4