WebAppsOperationsExtensions.ListByResourceGroup(IWebAppsOperations, String, Nullable<Boolean>) Method

Definition

Gets all web, mobile, and API apps in the specified resource group.

public static Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.Site> ListByResourceGroup (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, Nullable<bool> includeSlots = null);
static member ListByResourceGroup : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * Nullable<bool> -> Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.WebSites.Models.Site>
<Extension()>
Public Function ListByResourceGroup (operations As IWebAppsOperations, resourceGroupName As String, Optional includeSlots As Nullable(Of Boolean) = null) As IPage(Of Site)

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

includeSlots
System.Nullable<System.Boolean>

Specify <strong>true</strong> to include deployment slots in results. The default is false, which only gives you the production slot of all apps.

Returns

Microsoft.Rest.Azure.IPage<Site>

Remarks

Gets all web, mobile, and API apps in the specified resource group.

Applies to