GeoFilter Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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'
Two letter country codes defining user country access in a geo filter, e.g. AU, MX, US.
Applies to
Azure SDK for .NET