Share via


IWithStandardAttach<ParentT>.WithGeoFilter Method

Definition

Overloads

WithGeoFilter(String, GeoFilterActions, CountryISOCode)

Adds a single entry to the geo filters list.

WithGeoFilter(String, GeoFilterActions, IList<CountryISOCode>)

Sets the geo filters list for the specified countries list.

WithGeoFilter(String, GeoFilterActions, CountryISOCode)

Adds a single entry to the geo filters list.

public Microsoft.Azure.Management.Cdn.Fluent.CdnEndpoint.Definition.IWithStandardAttach<ParentT> 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.Definition.IWithStandardAttach<'ParentT>
Public Function WithGeoFilter (relativePath As String, action As GeoFilterActions, countryCode As CountryISOCode) As IWithStandardAttach(Of ParentT)

Parameters

relativePath
String

A relative path.

action
GeoFilterActions

A geo filter action.

countryCode
CountryISOCode

An ISO 2 letter country code.

Returns

Applies to

WithGeoFilter(String, GeoFilterActions, IList<CountryISOCode>)

Sets the geo filters list for the specified countries list.

public Microsoft.Azure.Management.Cdn.Fluent.CdnEndpoint.Definition.IWithStandardAttach<ParentT> 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.Definition.IWithStandardAttach<'ParentT>
Public Function WithGeoFilter (relativePath As String, action As GeoFilterActions, countryCodes As IList(Of CountryISOCode)) As IWithStandardAttach(Of ParentT)

Parameters

relativePath
String

A relative path.

action
GeoFilterActions

An action value.

countryCodes
IList<CountryISOCode>

A list of the ISO 2 letter country codes.

Returns

Applies to