你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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