NetworkExtensions.GetAvailableServiceAliasesByResourceGroup Method

Definition

Overloads

Name Description
GetAvailableServiceAliasesByResourceGroup(ResourceGroupResource, AzureLocation, CancellationToken)

Gets available service aliases by resource group.

GetAvailableServiceAliasesByResourceGroup(ResourceGroupResource, String, CancellationToken)

Gets all available service aliases for this resource group in this region. <item> Mocking. To mock this method, please mock GetAvailableServiceAliasesByResourceGroup(String, CancellationToken) instead. </item>

GetAvailableServiceAliasesByResourceGroup(ResourceGroupResource, AzureLocation, CancellationToken)

Source:
NetworkExtensions.cs
Source:
NetworkExtensions.cs

Gets available service aliases by resource group.

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

location
AzureLocation

The location.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

resourceGroupResource is null.

Applies to

GetAvailableServiceAliasesByResourceGroup(ResourceGroupResource, String, CancellationToken)

Source:
NetworkExtensions.cs

Gets all available service aliases for this resource group in this region. <item> Mocking. To mock this method, please mock GetAvailableServiceAliasesByResourceGroup(String, CancellationToken) instead. </item>

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

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource the method will execute against.

location
String

The location name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

resourceGroupResource is null.

Applies to