Partager via


IGeoFilter Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.GeoFilterTypeConverter))]
public interface IGeoFilter : Microsoft.Azure.PowerShell.Cmdlets.Cdn.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Cdn.Models.Api20240201.GeoFilterTypeConverter))>]
type IGeoFilter = interface
    interface IJsonSerializable
Public Interface IGeoFilter
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Action

Action of the geo filter, i.e. allow or block access.

CountryCode

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

RelativePath

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

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to