NetworkExtensions.GetAvailableEndpointServices Method

Definition

Overloads

Name Description
GetAvailableEndpointServices(SubscriptionResource, AzureLocation, CancellationToken)

Gets available endpoint services.

GetAvailableEndpointServices(SubscriptionResource, String, CancellationToken)

List what values of endpoint services are available for use. <item> Mocking. To mock this method, please mock GetAvailableEndpointServices(String, CancellationToken) instead. </item>

GetAvailableEndpointServices(SubscriptionResource, AzureLocation, CancellationToken)

Source:
NetworkExtensions.cs
Source:
NetworkExtensions.cs

Gets available endpoint services.

public static Azure.Pageable<Azure.ResourceManager.Network.Models.EndpointServiceResult> GetAvailableEndpointServices(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken);
public static Azure.Pageable<Azure.ResourceManager.Network.Models.EndpointServiceResult> GetAvailableEndpointServices(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.Core.AzureLocation location, System.Threading.CancellationToken cancellationToken = default);
static member GetAvailableEndpointServices : Azure.ResourceManager.Resources.SubscriptionResource * Azure.Core.AzureLocation * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.Models.EndpointServiceResult>
<Extension()>
Public Function GetAvailableEndpointServices (subscriptionResource As SubscriptionResource, location As AzureLocation, cancellationToken As CancellationToken) As Pageable(Of EndpointServiceResult)
<Extension()>
Public Function GetAvailableEndpointServices (subscriptionResource As SubscriptionResource, location As AzureLocation, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of EndpointServiceResult)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

location
AzureLocation

The location to check available endpoint services.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of EndpointServiceResult that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to

GetAvailableEndpointServices(SubscriptionResource, String, CancellationToken)

Source:
NetworkExtensions.cs

List what values of endpoint services are available for use. <item> Mocking. To mock this method, please mock GetAvailableEndpointServices(String, CancellationToken) instead. </item>

public static Azure.Pageable<Azure.ResourceManager.Network.Models.EndpointServiceResult> GetAvailableEndpointServices(this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string location, System.Threading.CancellationToken cancellationToken = default);
static member GetAvailableEndpointServices : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.Models.EndpointServiceResult>
<Extension()>
Public Function GetAvailableEndpointServices (subscriptionResource As SubscriptionResource, location As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of EndpointServiceResult)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource the method will execute against.

location
String

The location name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of EndpointServiceResult that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to