Bagikan melalui


GeoFilter Constructors

Definition

Overloads

GeoFilter()

Initializes a new instance of the GeoFilter class.

GeoFilter(String, GeoFilterActions, IList<String>)

Initializes a new instance of the GeoFilter class.

GeoFilter()

Initializes a new instance of the GeoFilter class.

public GeoFilter ();
Public Sub New ()

Applies to

GeoFilter(String, GeoFilterActions, IList<String>)

Initializes a new instance of the GeoFilter class.

public GeoFilter (string relativePath, Microsoft.Azure.Management.Cdn.Fluent.Models.GeoFilterActions action, System.Collections.Generic.IList<string> countryCodes);
new Microsoft.Azure.Management.Cdn.Fluent.Models.GeoFilter : string * Microsoft.Azure.Management.Cdn.Fluent.Models.GeoFilterActions * System.Collections.Generic.IList<string> -> Microsoft.Azure.Management.Cdn.Fluent.Models.GeoFilter
Public Sub New (relativePath As String, action As GeoFilterActions, countryCodes As IList(Of String))

Parameters

relativePath
String

Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.)

action
GeoFilterActions

Action of the geo filter, i.e. allow or block access. Possible values include: 'Block', 'Allow'

countryCodes
IList<String>

Two letter country codes defining user country access in a geo filter, e.g. AU, MX, US.

Applies to