Skip to content

Commit 1111001

Browse files
committed
fix identity
1 parent 3edff75 commit 1111001

File tree

108 files changed

+14737
-467
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+14737
-467
lines changed

src/Websites/Websites.Autorest/Properties/AssemblyInfo.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
2121
[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
2222
[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Websites")]
23-
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.1.0.0")]
24-
[assembly: System.Reflection.AssemblyVersionAttribute("0.1.0.0")]
23+
[assembly: System.Reflection.AssemblyFileVersionAttribute("3.4.1")]
24+
[assembly: System.Reflection.AssemblyVersionAttribute("3.4.1")]
2525
[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
26-
[assembly: System.CLSCompliantAttribute(false)]
26+
[assembly: System.CLSCompliantAttribute(false)]
27+

src/Websites/Websites.Autorest/custom/New-AzStaticWebApp.ps1

Lines changed: 206 additions & 71 deletions
Large diffs are not rendered by default.
Lines changed: 163 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,163 @@
1+
---
2+
Module Name: Az.Websites
3+
Module Guid: fc780f32-3a4b-4f14-a0ef-39438a2d33f8
4+
Download Help Link: https://learn.microsoft.com/powershell/module/az.websites
5+
Help Version: 1.0.0.0
6+
Locale: en-US
7+
---
8+
9+
# Az.Websites Module
10+
## Description
11+
Microsoft Azure PowerShell: Websites cmdlets
12+
13+
## Az.Websites Cmdlets
14+
### [Get-AzStaticWebApp](Get-AzStaticWebApp.md)
15+
Description for Gets the details of a static site.
16+
17+
### [Get-AzStaticWebAppBuild](Get-AzStaticWebAppBuild.md)
18+
Description for Gets the details of a static site build.
19+
20+
### [Get-AzStaticWebAppBuildAppSetting](Get-AzStaticWebAppBuildAppSetting.md)
21+
Description for Gets the application settings of a static site build.
22+
23+
### [Get-AzStaticWebAppBuildFunction](Get-AzStaticWebAppBuildFunction.md)
24+
Description for Gets the functions of a particular static site build.
25+
26+
### [Get-AzStaticWebAppBuildFunctionAppSetting](Get-AzStaticWebAppBuildFunctionAppSetting.md)
27+
Description for Gets the application settings of a static site build.
28+
29+
### [Get-AzStaticWebAppConfiguredRole](Get-AzStaticWebAppConfiguredRole.md)
30+
Description for Lists the roles configured for the static site.
31+
32+
### [Get-AzStaticWebAppCustomDomain](Get-AzStaticWebAppCustomDomain.md)
33+
Description for Gets an existing custom domain for a particular static site.
34+
35+
### [Get-AzStaticWebAppFunction](Get-AzStaticWebAppFunction.md)
36+
Description for Gets the functions of a static site.
37+
38+
### [Get-AzStaticWebAppFunctionAppSetting](Get-AzStaticWebAppFunctionAppSetting.md)
39+
Description for Gets the application settings of a static site.
40+
41+
### [Get-AzStaticWebAppSecret](Get-AzStaticWebAppSecret.md)
42+
Description for Lists the secrets for an existing static site.
43+
44+
### [Get-AzStaticWebAppSetting](Get-AzStaticWebAppSetting.md)
45+
Description for Gets the application settings of a static site.
46+
47+
### [Get-AzStaticWebAppUser](Get-AzStaticWebAppUser.md)
48+
Description for Gets the list of users of a static site.
49+
50+
### [Get-AzStaticWebAppUserProvidedFunctionApp](Get-AzStaticWebAppUserProvidedFunctionApp.md)
51+
Description for Gets the details of the user provided function app registered with a static site build
52+
53+
### [Get-AzWebAppContinuousWebJob](Get-AzWebAppContinuousWebJob.md)
54+
Get or list continuous web for an app.
55+
56+
### [Get-AzWebAppSlotContinuousWebJob](Get-AzWebAppSlotContinuousWebJob.md)
57+
Get or list continuous web for a deployment slot.
58+
59+
### [Get-AzWebAppSlotTriggeredWebJob](Get-AzWebAppSlotTriggeredWebJob.md)
60+
Get or list triggered web for a deployment slot.
61+
62+
### [Get-AzWebAppSlotTriggeredWebJobHistory](Get-AzWebAppSlotTriggeredWebJobHistory.md)
63+
Get or list triggered web job's history for a deployment slot.
64+
65+
### [Get-AzWebAppSlotWebJob](Get-AzWebAppSlotWebJob.md)
66+
List webjobs for a deployment slot.
67+
68+
### [Get-AzWebAppTriggeredWebJob](Get-AzWebAppTriggeredWebJob.md)
69+
Get or list triggered web for an app.
70+
71+
### [Get-AzWebAppTriggeredWebJobHistory](Get-AzWebAppTriggeredWebJobHistory.md)
72+
Get or list triggered web job's history for an app.
73+
74+
### [Get-AzWebAppWebJob](Get-AzWebAppWebJob.md)
75+
List webjobs for an app.
76+
77+
### [New-AzStaticWebApp](New-AzStaticWebApp.md)
78+
Description for create a new static site in an existing resource group, or create an existing static site.
79+
80+
### [New-AzStaticWebAppBuildAppSetting](New-AzStaticWebAppBuildAppSetting.md)
81+
Description for create the app settings of a static site build.
82+
83+
### [New-AzStaticWebAppBuildFunctionAppSetting](New-AzStaticWebAppBuildFunctionAppSetting.md)
84+
Description for create the function app settings of a static site build.
85+
86+
### [New-AzStaticWebAppCustomDomain](New-AzStaticWebAppCustomDomain.md)
87+
Description for create a new static site custom domain in an existing resource group and static site.
88+
89+
### [New-AzStaticWebAppFunctionAppSetting](New-AzStaticWebAppFunctionAppSetting.md)
90+
Description for create the function app settings of a static site.
91+
92+
### [New-AzStaticWebAppSetting](New-AzStaticWebAppSetting.md)
93+
Description for create the app settings of a static site.
94+
95+
### [New-AzStaticWebAppUserRoleInvitationLink](New-AzStaticWebAppUserRoleInvitationLink.md)
96+
Description for create an invitation link for a user with the role
97+
98+
### [Register-AzStaticWebAppUserProvidedFunctionApp](Register-AzStaticWebAppUserProvidedFunctionApp.md)
99+
Description for Register a user provided function app with a static site build
100+
101+
### [Remove-AzStaticWebApp](Remove-AzStaticWebApp.md)
102+
Description for Deletes a static site.
103+
104+
### [Remove-AzStaticWebAppAttachedRepository](Remove-AzStaticWebAppAttachedRepository.md)
105+
Description for Detaches a static site.
106+
107+
### [Remove-AzStaticWebAppBuild](Remove-AzStaticWebAppBuild.md)
108+
Description for Deletes a static site build.
109+
110+
### [Remove-AzStaticWebAppCustomDomain](Remove-AzStaticWebAppCustomDomain.md)
111+
Description for Deletes a custom domain.
112+
113+
### [Remove-AzStaticWebAppUser](Remove-AzStaticWebAppUser.md)
114+
Description for Deletes the user entry from the static site.
115+
116+
### [Remove-AzWebAppContinuousWebJob](Remove-AzWebAppContinuousWebJob.md)
117+
Delete a continuous web job for an app.
118+
119+
### [Remove-AzWebAppSlotContinuousWebJob](Remove-AzWebAppSlotContinuousWebJob.md)
120+
Delete a continuous web job for a deployment slot.
121+
122+
### [Remove-AzWebAppSlotTriggeredWebJob](Remove-AzWebAppSlotTriggeredWebJob.md)
123+
Delete a triggered web job for a deployment slot.
124+
125+
### [Remove-AzWebAppTriggeredWebJob](Remove-AzWebAppTriggeredWebJob.md)
126+
Delete a triggered web job for an app.
127+
128+
### [Reset-AzStaticWebAppApiKey](Reset-AzStaticWebAppApiKey.md)
129+
Description for Resets the api key for an existing static site.
130+
131+
### [Start-AzWebAppContinuousWebJob](Start-AzWebAppContinuousWebJob.md)
132+
Start a continuous web job for an app.
133+
134+
### [Start-AzWebAppSlotContinuousWebJob](Start-AzWebAppSlotContinuousWebJob.md)
135+
Start a continuous web job for a deployment slot.
136+
137+
### [Start-AzWebAppSlotTriggeredWebJob](Start-AzWebAppSlotTriggeredWebJob.md)
138+
Run a triggered web job for a deployment slot.
139+
140+
### [Start-AzWebAppTriggeredWebJob](Start-AzWebAppTriggeredWebJob.md)
141+
Run a triggered web job for an app.
142+
143+
### [Stop-AzWebAppContinuousWebJob](Stop-AzWebAppContinuousWebJob.md)
144+
Stop a continuous web job for an app.
145+
146+
### [Stop-AzWebAppSlotContinuousWebJob](Stop-AzWebAppSlotContinuousWebJob.md)
147+
Stop a continuous web job for a deployment slot.
148+
149+
### [Test-AzStaticWebAppCustomDomain](Test-AzStaticWebAppCustomDomain.md)
150+
Description for Validates a particular custom domain can be added to a static site.
151+
152+
### [Unregister-AzStaticWebAppBuildUserProvidedFunctionApp](Unregister-AzStaticWebAppBuildUserProvidedFunctionApp.md)
153+
Description for Detach the user provided function app from the static site build
154+
155+
### [Unregister-AzStaticWebAppUserProvidedFunctionApp](Unregister-AzStaticWebAppUserProvidedFunctionApp.md)
156+
Description for Detach the user provided function app from the static site
157+
158+
### [Update-AzStaticWebApp](Update-AzStaticWebApp.md)
159+
Description for update a new static site in an existing resource group, or update an existing static site.
160+
161+
### [Update-AzStaticWebAppUser](Update-AzStaticWebAppUser.md)
162+
Description for update a user entry with the listed roles
163+
Lines changed: 190 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,190 @@
1+
---
2+
external help file:
3+
Module Name: Az.Websites
4+
online version: https://learn.microsoft.com/powershell/module/az.websites/get-azstaticwebapp
5+
schema: 2.0.0
6+
---
7+
8+
# Get-AzStaticWebApp
9+
10+
## SYNOPSIS
11+
Description for Gets the details of a static site.
12+
13+
## SYNTAX
14+
15+
### List (Default)
16+
```
17+
Get-AzStaticWebApp [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>] [<CommonParameters>]
18+
```
19+
20+
### Get
21+
```
22+
Get-AzStaticWebApp -Name <String> -ResourceGroupName <String> [-SubscriptionId <String[]>]
23+
[-DefaultProfile <PSObject>] [<CommonParameters>]
24+
```
25+
26+
### GetViaIdentity
27+
```
28+
Get-AzStaticWebApp -InputObject <IWebsitesIdentity> [-DefaultProfile <PSObject>] [<CommonParameters>]
29+
```
30+
31+
### List1
32+
```
33+
Get-AzStaticWebApp -ResourceGroupName <String> [-SubscriptionId <String[]>] [-DefaultProfile <PSObject>]
34+
[<CommonParameters>]
35+
```
36+
37+
## DESCRIPTION
38+
Description for Gets the details of a static site.
39+
40+
## EXAMPLES
41+
42+
### Example 1: List all static web applications under a subscription
43+
```powershell
44+
Get-AzStaticWebApp
45+
```
46+
47+
```output
48+
Kind Location Name Type
49+
---- -------- ---- ----
50+
Central US staticweb-portal04 Microsoft.Web/staticSites
51+
East US 2 staticweb-portal02 Microsoft.Web/staticSites
52+
```
53+
54+
This commands list all static web applications under a subscription.
55+
56+
### Example 2: List all static web applications under a resource group
57+
```powershell
58+
Get-AzStaticWebApp -ResourceGroupName azure-rg-test
59+
```
60+
61+
```output
62+
Kind Location Name Type
63+
---- -------- ---- ----
64+
Central US staticweb-portal04 Microsoft.Web/staticSites
65+
East US 2 staticweb-portal02 Microsoft.Web/staticSites
66+
```
67+
68+
This commands list all static web applications under a resource group.
69+
70+
### Example 3: Get a static web application by name
71+
```powershell
72+
Get-AzStaticWebApp -ResourceGroupName azure-rg-test -Name staticweb-portal04
73+
```
74+
75+
```output
76+
Kind Location Name Type
77+
---- -------- ---- ----
78+
Central US staticweb-portal04 Microsoft.Web/staticSites
79+
```
80+
81+
This commands gets a static web application by name.
82+
83+
### Example 4: Get a static web application by pipeline
84+
```powershell
85+
New-AzStaticWebApp -ResourceGroupName azure-rg-test -Name staticweb-pwsh01 -Location eastus2 -RepositoryUrl 'https://github.com/username/RepoName' -RepositoryToken 'repoToken123' -Branch 'master' -AppLocation 'Client' -ApiLocation 'Api' -OutputLocation 'wwwroot' -SkuName 'free' | Get-AzStaticWebApp
86+
```
87+
88+
```output
89+
Kind Location Name Type
90+
---- -------- ---- ----
91+
Central US staticweb-portal04 Microsoft.Web/staticSites
92+
```
93+
94+
This commands gets a static web application by pipeline.
95+
96+
## PARAMETERS
97+
98+
### -DefaultProfile
99+
The DefaultProfile parameter is not functional.
100+
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
101+
102+
```yaml
103+
Type: System.Management.Automation.PSObject
104+
Parameter Sets: (All)
105+
Aliases: AzureRMContext, AzureCredential
106+
107+
Required: False
108+
Position: Named
109+
Default value: None
110+
Accept pipeline input: False
111+
Accept wildcard characters: False
112+
```
113+
114+
### -InputObject
115+
Identity Parameter
116+
117+
```yaml
118+
Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
119+
Parameter Sets: GetViaIdentity
120+
Aliases:
121+
122+
Required: True
123+
Position: Named
124+
Default value: None
125+
Accept pipeline input: True (ByValue)
126+
Accept wildcard characters: False
127+
```
128+
129+
### -Name
130+
Name of the static site.
131+
132+
```yaml
133+
Type: System.String
134+
Parameter Sets: Get
135+
Aliases:
136+
137+
Required: True
138+
Position: Named
139+
Default value: None
140+
Accept pipeline input: False
141+
Accept wildcard characters: False
142+
```
143+
144+
### -ResourceGroupName
145+
Name of the resource group to which the resource belongs.
146+
147+
```yaml
148+
Type: System.String
149+
Parameter Sets: Get, List1
150+
Aliases:
151+
152+
Required: True
153+
Position: Named
154+
Default value: None
155+
Accept pipeline input: False
156+
Accept wildcard characters: False
157+
```
158+
159+
### -SubscriptionId
160+
Your Azure subscription ID.
161+
This is a GUID-formatted string (e.g.
162+
00000000-0000-0000-0000-000000000000).
163+
164+
```yaml
165+
Type: System.String[]
166+
Parameter Sets: Get, List, List1
167+
Aliases:
168+
169+
Required: False
170+
Position: Named
171+
Default value: (Get-AzContext).Subscription.Id
172+
Accept pipeline input: False
173+
Accept wildcard characters: False
174+
```
175+
176+
### CommonParameters
177+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
178+
179+
## INPUTS
180+
181+
### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
182+
183+
## OUTPUTS
184+
185+
### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IStaticSiteArmResource
186+
187+
## NOTES
188+
189+
## RELATED LINKS
190+

0 commit comments

Comments
 (0)