你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IUpdateStandardEndpoint.WithGeoFilter 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WithGeoFilter(String, GeoFilterActions, CountryISOCode) |
将单个条目添加到“地理筛选器”列表。 |
WithGeoFilter(String, GeoFilterActions, IList<CountryISOCode>) |
设置指定国家/地区列表的地理筛选器列表。 |
WithGeoFilter(String, GeoFilterActions, CountryISOCode)
将单个条目添加到“地理筛选器”列表。
public Microsoft.Azure.Management.Cdn.Fluent.CdnEndpoint.UpdateStandardEndpoint.IUpdateStandardEndpoint WithGeoFilter (string relativePath, Microsoft.Azure.Management.Cdn.Fluent.Models.GeoFilterActions action, Microsoft.Azure.Management.ResourceManager.Fluent.Core.CountryISOCode countryCode);
abstract member WithGeoFilter : string * Microsoft.Azure.Management.Cdn.Fluent.Models.GeoFilterActions * Microsoft.Azure.Management.ResourceManager.Fluent.Core.CountryISOCode -> Microsoft.Azure.Management.Cdn.Fluent.CdnEndpoint.UpdateStandardEndpoint.IUpdateStandardEndpoint
Public Function WithGeoFilter (relativePath As String, action As GeoFilterActions, countryCode As CountryISOCode) As IUpdateStandardEndpoint
参数
- relativePath
- String
相对路径。
- action
- GeoFilterActions
一个操作。
- countryCode
- CountryISOCode
ISO 2 字母国家/地区代码。
返回
适用于
WithGeoFilter(String, GeoFilterActions, IList<CountryISOCode>)
设置指定国家/地区列表的地理筛选器列表。
public Microsoft.Azure.Management.Cdn.Fluent.CdnEndpoint.UpdateStandardEndpoint.IUpdateStandardEndpoint WithGeoFilter (string relativePath, Microsoft.Azure.Management.Cdn.Fluent.Models.GeoFilterActions action, System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Fluent.Core.CountryISOCode> countryCodes);
abstract member WithGeoFilter : string * Microsoft.Azure.Management.Cdn.Fluent.Models.GeoFilterActions * System.Collections.Generic.IList<Microsoft.Azure.Management.ResourceManager.Fluent.Core.CountryISOCode> -> Microsoft.Azure.Management.Cdn.Fluent.CdnEndpoint.UpdateStandardEndpoint.IUpdateStandardEndpoint
Public Function WithGeoFilter (relativePath As String, action As GeoFilterActions, countryCodes As IList(Of CountryISOCode)) As IUpdateStandardEndpoint
参数
- relativePath
- String
相对路径。
- action
- GeoFilterActions
一个操作。
- countryCodes
- IList<CountryISOCode>
ISO 2 字母国家/地区代码的列表。