GeoFilter(String, GeoFilterAction, IEnumerable<String>) Constructor
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.
Initializes a new instance of GeoFilter.
public GeoFilter (string relativePath, Azure.ResourceManager.Cdn.Models.GeoFilterAction action, System.Collections.Generic.IEnumerable<string> countryCodes);
new Azure.ResourceManager.Cdn.Models.GeoFilter : string * Azure.ResourceManager.Cdn.Models.GeoFilterAction * seq<string> -> Azure.ResourceManager.Cdn.Models.GeoFilter
Public Sub New (relativePath As String, action As GeoFilterAction, countryCodes As IEnumerable(Of String))
Parameters
- relativePath
- String
Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.).
- action
- GeoFilterAction
Action of the geo filter, i.e. allow or block access.
- countryCodes
- IEnumerable<String>
Two letter country or region codes defining user country or region access in a geo filter, e.g. AU, MX, US.
Exceptions
relativePath
or countryCodes
is null.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET