FrontDoorExtensions.GetFrontDoors 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
GetFrontDoors(ResourceGroupResource) |
Gets a collection of FrontDoorResources in the ResourceGroupResource. MockingTo mock this method, please mock GetFrontDoors() instead. |
GetFrontDoors(SubscriptionResource, CancellationToken) |
Lists all of the Front Doors within an Azure subscription.
|
GetFrontDoors(ResourceGroupResource)
- Source:
- FrontDoorExtensions.cs
- Source:
- FrontDoorExtensions.cs
Gets a collection of FrontDoorResources in the ResourceGroupResource. MockingTo mock this method, please mock GetFrontDoors() instead.
public static Azure.ResourceManager.FrontDoor.FrontDoorCollection GetFrontDoors (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetFrontDoors : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.FrontDoor.FrontDoorCollection
<Extension()>
Public Function GetFrontDoors (resourceGroupResource As ResourceGroupResource) As FrontDoorCollection
Parameters
- resourceGroupResource
- ResourceGroupResource
The ResourceGroupResource instance the method will execute against.
Returns
An object representing collection of FrontDoorResources and their operations over a FrontDoorResource.
Exceptions
resourceGroupResource
is null.
Applies to
GetFrontDoors(SubscriptionResource, CancellationToken)
- Source:
- FrontDoorExtensions.cs
- Source:
- FrontDoorExtensions.cs
Lists all of the Front Doors within an Azure subscription.
- Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/frontDoors
- Operation Id: FrontDoors_List
- Default Api Version: 2021-06-01
- Resource: FrontDoorResource
public static Azure.Pageable<Azure.ResourceManager.FrontDoor.FrontDoorResource> GetFrontDoors (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetFrontDoors : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.FrontDoor.FrontDoorResource>
<Extension()>
Public Function GetFrontDoors (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of FrontDoorResource)
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
A collection of FrontDoorResource that may take multiple service requests to iterate over.
Exceptions
subscriptionResource
is null.