Udostępnij za pośrednictwem


FluidRelayExtensions.GetFluidRelayServers Method

Definition

Overloads

GetFluidRelayServers(ResourceGroupResource)

Gets a collection of FluidRelayServerResources in the ResourceGroupResource. MockingTo mock this method, please mock GetFluidRelayServers() instead.

GetFluidRelayServers(SubscriptionResource, CancellationToken)

List all Fluid Relay servers in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.FluidRelay/fluidRelayServers
  • Operation Id: FluidRelayServers_ListBySubscription

GetFluidRelayServers(ResourceGroupResource)

Source:
FluidRelayExtensions.cs
Source:
FluidRelayExtensions.cs

Gets a collection of FluidRelayServerResources in the ResourceGroupResource. MockingTo mock this method, please mock GetFluidRelayServers() instead.

public static Azure.ResourceManager.FluidRelay.FluidRelayServerCollection GetFluidRelayServers (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetFluidRelayServers : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.FluidRelay.FluidRelayServerCollection
<Extension()>
Public Function GetFluidRelayServers (resourceGroupResource As ResourceGroupResource) As FluidRelayServerCollection

Parameters

resourceGroupResource
ResourceGroupResource

The ResourceGroupResource instance the method will execute against.

Returns

An object representing collection of FluidRelayServerResources and their operations over a FluidRelayServerResource.

Exceptions

resourceGroupResource is null.

Applies to

GetFluidRelayServers(SubscriptionResource, CancellationToken)

Source:
FluidRelayExtensions.cs
Source:
FluidRelayExtensions.cs

List all Fluid Relay servers in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.FluidRelay/fluidRelayServers
  • Operation Id: FluidRelayServers_ListBySubscription
public static Azure.Pageable<Azure.ResourceManager.FluidRelay.FluidRelayServerResource> GetFluidRelayServers (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetFluidRelayServers : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.FluidRelay.FluidRelayServerResource>
<Extension()>
Public Function GetFluidRelayServers (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of FluidRelayServerResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

subscriptionResource is null.

Applies to