diff --git a/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj b/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj index 39e5eb5af35c..c1e96a565da2 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj +++ b/src/ResourceManager/Websites/Commands.Websites/Commands.Websites.csproj @@ -156,7 +156,11 @@ Designer - Always + PreserveNewest + + + Designer + PreserveNewest diff --git a/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.psd1 b/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.psd1 index 49a0bd881e67..ba5532327599 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.psd1 +++ b/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.psd1 @@ -61,7 +61,7 @@ FormatsToProcess = @() # Modules to import as nested modules of the module specified in ModuleToProcess NestedModules = @( - '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\Resources\Microsoft.Azure.Commands.Websites.dll' + '..\..\..\Package\Debug\ResourceManager\AzureResourceManager\Websites\Microsoft.Azure.Commands.Websites.dll' ) # Functions to export from this module diff --git a/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.xml b/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.xml index 6973d67d8afd..aef7772762ab 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.xml +++ b/src/ResourceManager/Websites/Commands.Websites/Microsoft.Azure.Commands.Websites.dll-Help.xml @@ -1,4 +1,1826 @@  - - + + + + Get-AzureWebHostingPlan + + Gets Azure web hosting plan in the given resource group. + + + + + Get + AzureWebHostingPlan + + + + Gets Azure web hosting plan in the given resource group. + + + + Get-AzureWebHostingPlan + + ResourceGroupName + + Name of the resource group. + + String + + + WebHostingPlanName + + Name of the web hosting plan. + + String + + + Profile + + + + AzureProfile + + + + + + ResourceGroupName + + Name of the resource group. + + String + + String + + + + + + WebHostingPlanName + + Name of the web hosting plan. + + String + + String + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + PS C:\> + + Get-AzureWebHostingPlan -ResourceGroupName "Default-Web-WestUS" -WebHostingPlanName myWHP + + Gets the web hosting plan myWHP in resource group "Default-Web-WestUS" + + + + + + + + + + + + + + + + + + + + Get-AzureWebHostingPlans + + + + + + + Get + AzureWebHostingPlans + + + + + + + + Get-AzureWebHostingPlans + + ResourceGroupName + + Name of the resource group. + + String + + + Profile + + + + AzureProfile + + + + + + ResourceGroupName + + Name of the resource group. + + String + + String + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Get-AzureWebsite + + Gets Azure websites in the specified resource group + + + + + Get + AzureWebsite + + + + The Get-AzureWebsite cmdlet gets information about Azure websites in the specified resource group. + + + + Get-AzureWebsite + + SlotName + + Slot name of the website. + + String + + + ResourceGroupName + + Name of the resource group associated with website. + + String + + + WebsiteName + + Name of the website. + + String + + + Profile + + + + AzureProfile + + + + + + SlotName + + Slot name of the website. + + String + + String + + + + + + ResourceGroupName + + Name of the resource group associated with website. + + String + + String + + + + + + WebsiteName + + Name of the website. + + String + + String + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + PS C:\> + + Get-AzureWebsite -ResourceGroupName Default-Web-WestUS -WebsiteName ngolistandard -SlotName dev + + Gets the website slot dev for ngolistandard from resource group Default-Web-WestUS + + + + + + + + + + + + + + + + + + + + New-AzureWebHostingPlan + + Creates a new web hosting plan in a given Geo location. + + + + + New + AzureWebHostingPlan + + + + Creates a new web hosting plan in a given Geo location with the specified SKU, worker size and number of workers. + + + + New-AzureWebHostingPlan + + location + + Geo location where the webhosting plan to be created. + + String + + + Sku + + Sku of the Webhosting plan to be created. + + String + + + NumberofWorkers + + Number of workers to allocate. + + Int32 + + + WorkerSize + + Size of the workers. + + String + + + ResourceGroupName + + Name of the resource group. + + String + + + WebHostingPlanName + + Name of the web hosting plan. + + String + + + Profile + + + + AzureProfile + + + + + + location + + Geo location where the webhosting plan to be created. + + String + + String + + + + + + Sku + + Sku of the Webhosting plan to be created. + + String + + String + + + + + + NumberofWorkers + + Number of workers to allocate. + + Int32 + + Int32 + + + + + + WorkerSize + + Size of the workers. + + String + + String + + + + + + ResourceGroupName + + Name of the resource group. + + String + + String + + + + + + WebHostingPlanName + + Name of the web hosting plan. + + String + + String + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + PS C:\> + + New-AzureWebHostingPlan -ResourceGroupName "Default-Web-WestUS" -WebHostingPlanName "NgoliWHP" -location "West US" -Debug -Sku Basic -NumberofWorkers 2 -WorkerSize Small + + Creates a new web hosting plan in resource group "Default-Web-WestUS" -with web hosting plan name "NgoliWHP" in geo location "West US" using Basic sku and allocates total 2 workers worker size is Small + + + + + + + + + + + + + + + + + + + + New-AzureWebsite + + Create an Azure Website + + + + + New + AzureWebsite + + + + Create an Azure website in a given a resource group using the specified web hosting plan and the data center. + + + + New-AzureWebsite + + SlotName + + Slot name of the website to be created. + + String + + + Location + + Data center location + + String + + + WebHostingPlan + + Web hosting plan to use for the website + + String + + + ResourceGroupName + + Resource group to be associated with. + + String + + + WebsiteName + + Web site name + + String + + + Profile + + + + AzureProfile + + + + + + SlotName + + Slot name of the website to be created. + + String + + String + + + + + + Location + + Data center location + + String + + String + + + + + + WebHostingPlan + + Web hosting plan to use for the website + + String + + String + + + + + + ResourceGroupName + + Resource group to be associated with. + + String + + String + + + + + + WebsiteName + + Web site name + + String + + String + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + PS C:\> + + New-AzureWebsite -ResourceGroupName Default-Web-WestUS -WebsiteName MyFirstSite -Location "West US" -WebHostingPlan MyWebHostingPlan + + Creates a new Azure Website named MyFirstSite in the existing resourcegroup named Default-Web-WestUS in data center "West US" using existing web hosting plan MyWebHostingPlan + + + + + + + + + + + + + + + + + + + + Remove-AzureWebHostingPlan + + Remove an Azure Web hosting plan + + + + + Remove + AzureWebHostingPlan + + + + Remove an Azure Web hosting plan + + + + Remove-AzureWebHostingPlan + + Force + + Do not ask for confirmation + + SwitchParameter + + + ResourceGroupName + + Name of the resource group. + + String + + + WebHostingPlanName + + Name of the web hosting plan. + + String + + + Profile + + + + AzureProfile + + + + + + Force + + Do not ask for confirmation + + SwitchParameter + + SwitchParameter + + + + + + ResourceGroupName + + Name of the resource group. + + String + + String + + + + + + WebHostingPlanName + + Name of the web hosting plan. + + String + + String + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + PS C:\> + + Remove-AzureWebHostingPlan -ResourceGroupName "Default-Web-WestUS" -WebHostingPlanName "NGoliStandard" + + Deletes azure web hosting plan in resource group "Default-Web-WestUS" with web hosting plan name "NGoliStandard" + + + + + + + + + + + + + + + + + + + + Remove-AzureWebsite + + Remove an Azure Website + + + + + Remove + AzureWebsite + + + + Deletes an Azure Website given the resource group and website name + + + + Remove-AzureWebsite + + Force + + Do not ask for confirmation + + SwitchParameter + + + ResourceGroupName + + Name of the resource group associated with website. + + String + + + WebsiteName + + Name of the website to be deleted. + + String + + + Profile + + + + AzureProfile + + + + + + Force + + Do not ask for confirmation + + SwitchParameter + + SwitchParameter + + + + + + ResourceGroupName + + Name of the resource group associated with website. + + String + + String + + + + + + WebsiteName + + Name of the website to be deleted. + + String + + String + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + PS C:\> + + Remove-AzureWebsite -ResourceGroupName Default-Web-WestUS -WebsiteName MyFirstSite + + Deletes the Azure Website named MyFirstSite in the resourcegroup named Default-Web-WestUS + + + + + + + + + + + + + + + + + + + + Restart-AzureWebsite + + Stop and start an Azure Website. + + + + + Restart + AzureWebsite + + + + Stops and then starts an Azure Website. If website is already in stopped state use Start-AzureWebsite command + + + + Restart-AzureWebsite + + SlotName + + Slot name of the website + + String + + + ResourceGroupName + + Name of the resource group associated with website. + + String + + + WebsiteName + + Name of the website. + + String + + + Profile + + + + AzureProfile + + + + + + SlotName + + Slot name of the website + + String + + String + + + + + + ResourceGroupName + + Name of the resource group associated with website. + + String + + String + + + + + + WebsiteName + + Name of the website. + + String + + String + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + PS C:\> + + Restart-AzureWebsite -ResourceGroupName Default-Web-WestUS -WebsiteName MyFirstSite + + Stops the site MyFirstSite and then starts it. + + + + + + + + + + + + + + + + + + + + Set-AzureWebHostingPlan + + Sets the web hosting plan + + + + + Set + AzureWebHostingPlan + + + + Sets the web hosting plan + + + + Set-AzureWebHostingPlan + + location + + Geo location of the web hosting plan. + + String + + + Sku + + SKU of the web hosting plan. + + String + + + NumberofWorkers + + Number of Workers. + + Int32 + + + WorkerSize + + Size of the workers. + + String + + + ResourceGroupName + + Name of the resource group. + + String + + + WebHostingPlanName + + Name of the web hosting plan. + + String + + + Profile + + + + AzureProfile + + + + + + location + + Geo location of the web hosting plan. + + String + + String + + + + + + Sku + + SKU of the web hosting plan. + + String + + String + + + + + + NumberofWorkers + + Number of Workers. + + Int32 + + Int32 + + + + + + WorkerSize + + Size of the workers. + + String + + String + + + + + + ResourceGroupName + + Name of the resource group. + + String + + String + + + + + + WebHostingPlanName + + Name of the web hosting plan. + + String + + String + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + PS C:\> + + + + + + + + + + + + + + + + + + + + + + + + Start-AzureWebsite + + Start an Azure Website + + + + + Start + AzureWebsite + + + + Start an Azure Website + + + + Start-AzureWebsite + + SlotName + + Slot name of the website. + + String + + + ResourceGroupName + + Name of the resource group associated with website. + + String + + + WebsiteName + + Name of the website to start + + String + + + Profile + + + + AzureProfile + + + + + + SlotName + + Slot name of the website. + + String + + String + + + + + + ResourceGroupName + + Name of the resource group associated with website. + + String + + String + + + + + + WebsiteName + + Name of the website to start + + String + + String + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + PS C:\> + + Start-AzureWebsite -ResourceGroupName Default-Web-WestUS -WebsiteName MyWebSite + + Starts the website named MyWebSite in resource group Default-Web-WestUS + + + + + + + + + + + + + + + + + + + + Stop-AzureWebsite + + Stop the website. + + + + + Stop + AzureWebsite + + + + Stops the website. + + + + Stop-AzureWebsite + + SlotName + + Slot name of the website to be stopped + + String + + + ResourceGroupName + + Specify the resource group corresponding to the website. + + String + + + WebsiteName + + Name of the website to be stopped + + String + + + Profile + + + + AzureProfile + + + + + + SlotName + + Slot name of the website to be stopped + + String + + String + + + + + + ResourceGroupName + + Specify the resource group corresponding to the website. + + String + + String + + + + + + WebsiteName + + Name of the website to be stopped + + String + + String + + + + + + Profile + + + + AzureProfile + + AzureProfile + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + -------------------------- Example 1 -------------------------- + + PS C:\> + + Stop-AzureWebsite -ResourceGroupName Default-Web-WestUS -WebsiteName ngolistandard + + Stops the website named MyWebSite in resource group Default-Web-WestUS + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/ResourceManager/Websites/Commands.Websites/Microsoft.WindowsAzure.Commands.WebSites.format.ps1xml b/src/ResourceManager/Websites/Commands.Websites/Microsoft.WindowsAzure.Commands.WebSites.format.ps1xml new file mode 100644 index 000000000000..e20129f3c0b3 --- /dev/null +++ b/src/ResourceManager/Websites/Commands.Websites/Microsoft.WindowsAzure.Commands.WebSites.format.ps1xml @@ -0,0 +1,31 @@ + + + + + Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities.Site + + Microsoft.WindowsAzure.Commands.Utilities.Websites.Services.WebEntities.Site + + + + + + + + Name + + + + State + + + + HostNames + + + + + + + + diff --git a/src/ResourceManager/Websites/Commands.Websites/Properties/AssemblyInfo.cs b/src/ResourceManager/Websites/Commands.Websites/Properties/AssemblyInfo.cs index 6a5df38250c2..9bb8683c9048 100644 --- a/src/ResourceManager/Websites/Commands.Websites/Properties/AssemblyInfo.cs +++ b/src/ResourceManager/Websites/Commands.Websites/Properties/AssemblyInfo.cs @@ -24,7 +24,7 @@ [assembly: ComVisible(false)] [assembly: CLSCompliant(false)] -[assembly: Guid("e386b843-f3f0-4db3-8664-37d16b860dde")] +[assembly: Guid("76158def-441b-472a-9b1a-a75726a813f4")] [assembly: AssemblyVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyVersion)] [assembly: AssemblyFileVersion(Microsoft.WindowsAzure.Commands.Common.AzurePowerShell.AssemblyFileVersion)] #if SIGN