private void GetByAppServicePlan()
        {
            WriteObject(WebsitesClient.ListWebAppsForAppServicePlan(AppServicePlan.ResourceGroup,
#if !NETSTANDARD
                                                                    AppServicePlan.ServerFarmWithRichSkuName
#else
                                                                    AppServicePlan.Name
#endif
                                                                    ).ToList());
        }
Ejemplo n.º 2
0
        private void GetByAppServicePlan()
        {
            var sites  = new List <PSSite>();
            var output = WebsitesClient.ListWebAppsForAppServicePlan(AppServicePlan.ResourceGroup, AppServicePlan.Name);

            foreach (var site in output)
            {
                sites.Add(new PSSite(site));
            }

            WriteObject(sites, true);
        }
Ejemplo n.º 3
0
 private void GetByAppServicePlan()
 {
     WriteObject(WebsitesClient.ListWebAppsForAppServicePlan(AppServicePlan.ResourceGroup,
                                                             AppServicePlan.Name).ToList(), true);
 }
Ejemplo n.º 4
0
 private void GetByAppServicePlan()
 {
     WriteObject(WebsitesClient.ListWebAppsForAppServicePlan(AppServicePlan.ResourceGroup,
                                                             AppServicePlan.ServerFarmWithRichSkuName).ToList());
 }