GeoFilter Class
Rules defining user's geo access within a CDN endpoint.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
GeoFilter
Constructor
GeoFilter(*, relative_path: str, action: Union[str, azure.mgmt.cdn.models._cdn_management_client_enums.GeoFilterActions], country_codes: List[str], **kwargs)
Variables
- relative_path
- str
Required. Relative path applicable to geo filter. (e.g. '/mypictures', '/mypicture/kitty.jpg', and etc.).
- action
- str or GeoFilterActions
Required. Action of the geo filter, i.e. allow or block access. Possible values include: "Block", "Allow".
Feedback
Submit and view feedback for