IUpdateStandardEndpoint.WithGeoFilter Method
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.
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.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
Parameters
- relativePath
- String
A relative path.
- action
- GeoFilterActions
An 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.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
Parameters
- relativePath
- String
A relative path.
- action
- GeoFilterActions
An action.
- countryCodes
- IList<CountryISOCode>
A list of ISO 2 letter country codes.
Returns
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for