Skip to content

Commit a68a635

Browse files
committed
Updating help and removing 'justdoit cmdlet
1 parent a8e95a3 commit a68a635

File tree

5 files changed

+32
-111
lines changed

5 files changed

+32
-111
lines changed
Binary file not shown.

experiments/Websites.Experiments/AzureRM.Websites.Experiments.psm1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1037,7 +1037,7 @@ function Get-LocationFromUser
10371037
return $location
10381038
}
10391039

1040-
Export-ModuleMember -Cmdlet New-AzWebAppJustDoIt
1040+
10411041
Export-ModuleMember -Cmdlet New-AzWebApp
10421042
Export-ModuleMember -Cmdlet New-AzWebAppGrayParam
10431043

experiments/Websites.Experiments/help/New-AzWebApp.md

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,28 @@ New-AzWebApp [[-WebAppName] <String>] [[-ResourceGroupName] <String>] [[-AppServ
1717
```
1818

1919
## DESCRIPTION
20-
{{Fill in the Description}}
20+
Create a new Azure AppService website and attach it to a git repository.
2121

2222
## EXAMPLES
2323

24-
### Example 1
24+
### Example 1: Create a website with prompts for settings
2525
```
26-
PS C:\> {{ Add example code here }}
26+
PS C:\> New-AzWebApp contosoWebApp
2727
```
2828

29-
{{ Add example description here }}
29+
Creates a web application. The user will be prompted for the appservice to use and other settings.
30+
31+
## Example 1: Create a website with default settings
32+
PS C:\> New-AzWebApp contosoWebApp -Auto
33+
```
34+
35+
Creates a web application using default settings.
36+
3037
3138
## PARAMETERS
3239
3340
### -AddRemote
34-
{{Fill AddRemote Description}}
41+
Add a remote to local github repo.
3542
3643
```yaml
3744
Type: SwitchParameter
@@ -46,7 +53,7 @@ Accept wildcard characters: False
4653
```
4754

4855
### -AppServicePlan
49-
{{Fill AppServicePlan Description}}
56+
The name or id of the AppService Plan to use with this WebApp.
5057

5158
```yaml
5259
Type: String
@@ -61,7 +68,7 @@ Accept wildcard characters: False
6168
```
6269
6370
### -Auto
64-
{{Fill Auto Description}}
71+
Accept default values for all settings not provided, withotu prompting.
6572
6673
```yaml
6774
Type: SwitchParameter
@@ -76,7 +83,7 @@ Accept wildcard characters: False
7683
```
7784
7885
### -GitRepositoryPath
79-
{{Fill GitRepositoryPath Description}}
86+
The path to a github repository where remotes should be added.
8087
8188
```yaml
8289
Type: String
@@ -91,7 +98,7 @@ Accept wildcard characters: False
9198
```
9299
93100
### -ResourceGroupName
94-
{{Fill ResourceGroupName Description}}
101+
The name of the resource group for the Website.
95102
96103
```yaml
97104
Type: String
@@ -106,7 +113,7 @@ Accept wildcard characters: False
106113
```
107114
108115
### -WebAppName
109-
{{Fill WebAppName Description}}
116+
The name of the Website. The website will automatically use this value as the subdomain for the created website.
110117
111118
```yaml
112119
Type: String
@@ -128,6 +135,7 @@ Accept wildcard characters: False
128135
## OUTPUTS
129136
130137
### Microsoft.Azure.Management.WebSites.Models.Site
138+
Details about the created website, including URL and github repo url.
131139
132140
133141
## NOTES

experiments/Websites.Experiments/help/New-AzWebAppGrayParam.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,28 @@ schema: 2.0.0
77
# New-AzWebAppGrayParam
88

99
## SYNOPSIS
10-
{{Fill in the Synopsis}}
10+
Create an Azure Website using Azure App Service.
1111

1212
## SYNTAX
1313

1414
```
1515
New-AzWebAppGrayParam [[-WebAppName] <String>] [[-ResourceGroupName] <String>] [[-AppServicePlan] <String>]
16-
[-Auto] [-AddRemote] [[-GitRepositoryPath] <String>]
16+
[-Auto] [-AddRemote] [[-GitRepositoryPath] <String>] [-Location <string>]
1717
```
1818

1919
## DESCRIPTION
20-
{{Fill in the Description}}
20+
Create an Azure Website using Azure App Service. This cmdlet uses the 'Gray Parameter' experience, which will prompt the user with default
21+
values for parameters that are not provided. Using -Auto indicates that further prompting for defaults should not occur.
22+
2123

2224
## EXAMPLES
2325

2426
### Example 1
2527
```
26-
PS C:\> {{ Add example code here }}
28+
PS C:\> New-AzWebAppGrayParam
2729
```
2830

29-
{{ Add example description here }}
31+
Create a web application using defaults for all values, including name
3032

3133
## PARAMETERS
3234

@@ -46,7 +48,7 @@ Accept wildcard characters: False
4648
```
4749
4850
### -AppServicePlan
49-
{{Fill AppServicePlan Description}}
51+
The ApPService Plan to use for thsi website. If not provided, the website will create an app service plan, or join an existing free AppService plan.
5052
5153
```yaml
5254
Type: String
@@ -61,7 +63,7 @@ Accept wildcard characters: False
6163
```
6264
6365
### -Auto
64-
{{Fill Auto Description}}
66+
Skip parameter prompting for remaining parameters.
6567
6668
```yaml
6769
Type: SwitchParameter
@@ -76,7 +78,7 @@ Accept wildcard characters: False
7678
```
7779
7880
### -GitRepositoryPath
79-
{{Fill GitRepositoryPath Description}}
81+
The path to a github repository containingg the application for the website. A remote for pushign to the website will be added to this repository.
8082
8183
```yaml
8284
Type: String
@@ -91,7 +93,7 @@ Accept wildcard characters: False
9193
```
9294
9395
### -ResourceGroupName
94-
{{Fill ResourceGroupName Description}}
96+
The name of the resource group to create the website in.
9597
9698
```yaml
9799
Type: String
@@ -106,7 +108,7 @@ Accept wildcard characters: False
106108
```
107109
108110
### -WebAppName
109-
{{Fill WebAppName Description}}
111+
The name of the website.
110112
111113
```yaml
112114
Type: String
@@ -128,6 +130,7 @@ Accept wildcard characters: False
128130
## OUTPUTS
129131
130132
### Microsoft.Azure.Management.WebSites.Models.Site
133+
Details about the created website, including its URL.
131134
132135
133136
## NOTES

experiments/Websites.Experiments/help/New-AzWebAppJustDoIt.md

Lines changed: 0 additions & 90 deletions
This file was deleted.

0 commit comments

Comments
 (0)