diff --git a/src/Websites/Websites.Autorest/Az.Websites.nuspec b/src/Websites/Websites.Autorest/Az.Websites.nuspec
index 752b43bab4ef..db4f88bb7b83 100644
--- a/src/Websites/Websites.Autorest/Az.Websites.nuspec
+++ b/src/Websites/Websites.Autorest/Az.Websites.nuspec
@@ -13,7 +13,7 @@
Microsoft Corporation. All rights reserved.
Azure ResourceManager ARM PSModule $(service-name)
-
+
@@ -23,9 +23,9 @@
-
-
-
+
+
+
diff --git a/src/Websites/Websites.Autorest/Properties/AssemblyInfo.cs b/src/Websites/Websites.Autorest/Properties/AssemblyInfo.cs
new file mode 100644
index 000000000000..7233f09d2463
--- /dev/null
+++ b/src/Websites/Websites.Autorest/Properties/AssemblyInfo.cs
@@ -0,0 +1,26 @@
+// Copyright (c) Microsoft Corporation. All rights reserved.
+// Licensed under the Apache License, Version 2.0 (the ""License"");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+// http://www.apache.org/licenses/LICENSE-2.0
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an ""AS IS"" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+// Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+// is regenerated.
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+[assembly: System.Reflection.AssemblyCompanyAttribute("Microsoft")]
+[assembly: System.Reflection.AssemblyCopyrightAttribute("Copyright © Microsoft")]
+[assembly: System.Reflection.AssemblyProductAttribute("Microsoft Azure PowerShell")]
+[assembly: System.Reflection.AssemblyTitleAttribute("Microsoft Azure PowerShell - Websites")]
+[assembly: System.Reflection.AssemblyFileVersionAttribute("3.4.1")]
+[assembly: System.Reflection.AssemblyVersionAttribute("3.4.1")]
+[assembly: System.Runtime.InteropServices.ComVisibleAttribute(false)]
+[assembly: System.CLSCompliantAttribute(false)]
diff --git a/src/Websites/Websites.Autorest/README.md b/src/Websites/Websites.Autorest/README.md
index f1f61384484f..181ce280b3a6 100644
--- a/src/Websites/Websites.Autorest/README.md
+++ b/src/Websites/Websites.Autorest/README.md
@@ -37,13 +37,6 @@ input-file:
title: Websites
module-version: 0.1.0
subject-prefix: $(service-name)
-identity-correction-for-post: true
-resourcegroup-append: true
-nested-object-to-string: true
-
-# For new modules, please avoid setting 3.x using the use-extension method and instead, use 4.x as the default option
-use-extension:
- "@autorest/powershell": "3.x"
directive:
#Modify operationId
@@ -206,58 +199,20 @@ directive:
verb: Unregister
subject: BuildUserProvidedFunctionApp
-# Remove variant
+ # Remove variant
# Following is two common directive which are normally required in all the RPs
# 1. Remove the unexpanded parameter set
# 2. For New-* cmdlets, ViaIdentity is not required, so CreateViaIdentityExpanded is removed as well
- where:
- variant: ^CreateViaIdentityExpanded$|^Create$|^CreateViaIdentity$|^Update$|^UpdateViaIdentity$
- # We got to keep the Create variant of CustomDomain because it's special that it doesn't have a
- # CreateExpanded variant, because the only parameters are all in URL rather than request body
- subject: CustomDomain
-
- remove: true
- - where:
- verb: Test
- variant: ^Validate$|^ValidateViaIdentity$
- # We got to keep the Create variant of CustomDomain because it's special that it doesn't have a
- # CreateExpanded variant, because the only parameters are all in URL rather than request body
- subject: CustomDomain
- remove: true
-
- - where:
- variant: ^Create$|^CreateViaIdentity$|^Update$|^UpdateViaIdentity$
- # We got to keep the Create variant of CustomDomain because it's special that it doesn't have a
- # CreateExpanded variant, because the only parameters are all in URL rather than request body
- subject: BuildAppSetting
- remove: true
-
- - where:
- variant: ^Create$|^CreateViaIdentity$|^Update$|^UpdateViaIdentity$
- # We got to keep the Create variant of CustomDomain because it's special that it doesn't have a
- # CreateExpanded variant, because the only parameters are all in URL rather than request body
- subject: FunctionAppSetting
- remove: true
-
- - where:
- variant: ^Create$|^CreateViaIdentity$|^Update$|^UpdateViaIdentity$
- # We got to keep the Create variant of CustomDomain because it's special that it doesn't have a
- # CreateExpanded variant, because the only parameters are all in URL rather than request body
- subject: Setting
+ subject: CustomDomain|BuildAppSetting|FunctionAppSetting|Setting|BuildFunctionAppSetting|UserRoleInvitationLink
+ variant: ^Create(?!.*?(Expanded|JsonFilePath|JsonString))
remove: true
- where:
- variant: ^Create$|^CreateViaIdentity$|^Update$|^UpdateViaIdentity$
+ variant: ^CreateViaIdentityExpanded$
# We got to keep the Create variant of CustomDomain because it's special that it doesn't have a
# CreateExpanded variant, because the only parameters are all in URL rather than request body
- subject: BuildFunctionAppSetting
- remove: true
-
- - where:
- variant: ^Create$|^CreateViaIdentity$|^Update$|^UpdateViaIdentity$
- # We got to keep the Create variant of CustomDomain because it's special that it doesn't have a
- # CreateExpanded variant, because the only parameters are all in URL rather than request body
- subject: UserRoleInvitationLink
+ subject: CustomDomain
remove: true
- where:
@@ -272,6 +227,14 @@ directive:
variant: ^Update$|^UpdateViaIdentity$
remove: true
+ - where:
+ verb: Test
+ variant: ^Validate$|^ValidateViaIdentity$
+ # We got to keep the Create variant of CustomDomain because it's special that it doesn't have a
+ # CreateExpanded variant, because the only parameters are all in URL rather than request body
+ subject: CustomDomain
+ remove: true
+
- where:
verb: Reset
subject: ApiKey
diff --git a/src/Websites/Websites.Autorest/custom/New-AzStaticWebApp.ps1 b/src/Websites/Websites.Autorest/custom/New-AzStaticWebApp.ps1
index da170a4ee184..fec0b709d7cb 100644
--- a/src/Websites/Websites.Autorest/custom/New-AzStaticWebApp.ps1
+++ b/src/Websites/Websites.Autorest/custom/New-AzStaticWebApp.ps1
@@ -1,7 +1,6 @@
# ----------------------------------------------------------------------------------
-#
-# Copyright Microsoft Corporation
+# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
@@ -11,30 +10,46 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+# Code generated by Microsoft (R) AutoRest Code Generator.Changes may cause incorrect behavior and will be lost if the code
+# is regenerated.
# ----------------------------------------------------------------------------------
<#
.Synopsis
-Description for Creates a new static site in an existing resource group, or updates an existing static site.
+Description for create a new static site in an existing resource group, or create an existing static site.
.Description
-Description for Creates a new static site in an existing resource group, or updates an existing static site.
+Description for create a new static site in an existing resource group, or create an existing static site.
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+New-AzStaticWebApp -ResourceGroupName 'azure-rg-test' -Name 'staticweb-45asde' -Location 'Central US' -RepositoryUrl 'https://github.com/LucasYao93/blazor-starter' -RepositoryToken 'githubAccessToken' -Branch 'branch02' -AppLocation 'Client' -ApiLocation 'Api' -OutputLocation 'wwwroot' -SkuName 'Standard'
.Example
-PS C:\> {{ Add code here }}
-
-{{ Add output here }}
+New-AzStaticWebApp -ResourceGroupName 'azure-rg-test' -Name staticweb-pwsh01 -Location "Central US" -RepositoryToken 'xxxxxxxxxxxxxxxxx' -TemplateRepositoryUrl 'https://github.com/staticwebdev/blazor-starter' -ForkRepositoryDescription "Test template repository function of the azure static web." -ForkRepositoryName "test-blazor-starter" -ForkRepositoryOwner 'LucasYao93' -Branch 'main' -AppLocation 'Client' -ApiLocation 'Api' -OutputLocation 'wwwroot' -SkuName 'Standard'
+.Inputs
+Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
.Outputs
-Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IStaticSiteArmResource
+Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IStaticSiteArmResource
.Notes
COMPLEX PARAMETER PROPERTIES
To create the parameters described below, construct a hash table containing the appropriate properties. For information on hash tables, run Get-Help about_Hash_Tables.
-SKUCAPABILITY : Capabilities of the SKU, e.g., is traffic manager enabled
+INPUTOBJECT : Identity Parameter
+ [Authprovider ]: The auth provider for the users.
+ [DomainName ]: The custom domain name.
+ [EnvironmentName ]: The stage site identifier.
+ [FunctionAppName ]: Name of the function app registered with the static site build.
+ [Id ]: Resource identity path
+ [JobHistoryId ]: History ID.
+ [Location ]: Location where you plan to create the static site.
+ [Name ]: Name of the static site.
+ [PrivateEndpointConnectionName ]: Name of the private endpoint connection.
+ [ResourceGroupName ]: Name of the resource group to which the resource belongs.
+ [Slot ]: Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.
+ [SubscriptionId ]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
+ [Userid ]: The user id of the user.
+ [WebJobName ]: Name of Web Job.
+
+SKUCAPABILITY : Capabilities of the SKU, e.g., is traffic manager enabled?
[Name ]: Name of the SKU capability.
[Reason ]: Reason of the SKU capability.
[Value ]: Value of the SKU capability.
@@ -42,22 +57,28 @@ SKUCAPABILITY : Capabilities of the SKU, e.g., is traffic manager
https://learn.microsoft.com/powershell/module/az.websites/new-azstaticwebapp
#>
function New-AzStaticWebApp {
-[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IStaticSiteArmResource])]
+[OutputType([Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IStaticSiteArmResource])]
[CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')]
param(
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
+ [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)]
+ [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Path')]
[System.String]
# Name of the static site to create or update.
${Name},
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
+ [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)]
+ [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Path')]
[System.String]
# Name of the resource group to which the resource belongs.
${ResourceGroupName},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaJsonFilePath')]
+ [Parameter(ParameterSetName='CreateViaJsonString')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Path')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')]
[System.String]
@@ -66,171 +87,286 @@ param(
# 00000000-0000-0000-0000-000000000000).
${SubscriptionId},
- [Parameter(Mandatory)]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
+ [Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Path')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity]
+ # Identity Parameter
+ ${InputObject},
+
+ [Parameter(ParameterSetName='CreateExpanded', Mandatory)]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
[System.String]
# Resource Location.
${Location},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
[System.Management.Automation.SwitchParameter]
# false if config file is locked for this static web app; otherwise, true.
${AllowConfigFileUpdate},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
[System.String]
# A custom command to run during deployment of the Azure Functions API application.
${ApiBuildCommand},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
[System.String]
# The path to the api code within the repository.
${ApiLocation},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
[System.String]
# Deprecated: The path of the app artifacts after building (deprecated in favor of OutputLocation)
${AppArtifactLocation},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
[System.String]
# A custom command to run during deployment of the static content application.
${AppBuildCommand},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
[System.String]
# The path to the app code within the repository.
${AppLocation},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
[System.String]
# The target branch in the repository.
${Branch},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
[System.Int32]
# Current number of instances assigned to the resource.
${Capacity},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
+ [System.Management.Automation.SwitchParameter]
+ # Determines whether to enable a system-assigned identity for the resource.
+ ${EnableSystemAssignedIdentity},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
[System.String]
- # Github Action secret name override.
- ${GithubActionSecretNameOverride},
+ # Description of the newly generated repository.
+ ${ForkRepositoryDescription},
- [Parameter()]
- [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Websites.Support.ManagedServiceIdentityType])]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.Websites.Support.ManagedServiceIdentityType]
- # Type of managed service identity.
- ${IdentityType},
+ [System.Management.Automation.SwitchParameter]
+ # Whether or not the newly generated repository is a private repository.
+ # Defaults to false (i.e.
+ # public).
+ ${ForkRepositoryIsPrivate},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IManagedServiceIdentityUserAssignedIdentities]))]
- [System.Collections.Hashtable]
- # The list of user assigned identities associated with the resource.
- # The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}
- ${IdentityUserAssignedIdentity},
+ [System.String]
+ # Name of the newly generated repository.
+ ${ForkRepositoryName},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
+ [System.String]
+ # Owner of the newly generated repository.
+ ${ForkRepositoryOwner},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
+ [System.String]
+ # Github Action secret name override.
+ ${GithubActionSecretNameOverride},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
[System.String]
# Kind of resource.
${Kind},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
[System.String]
# The output path of the app after building.
${OutputLocation},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
[System.String]
# A user's github repository token.
# This is used to setup the Github Actions workflow file and API secrets.
${RepositoryToken},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
[System.String]
# URL for the repository of the static site.
${RepositoryUrl},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
[System.Management.Automation.SwitchParameter]
# Skip Github Action workflow generation.
${SkipGithubActionWorkflowGeneration},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
+ [AllowEmptyCollection()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.ICapability[]]
+ # Capabilities of the SKU, e.g., is traffic manager enabled?
+ ${SkuCapability},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
+ [System.Int32]
+ # Default number of workers for this App Service plan SKU.
+ ${SkuCapacityDefault},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
+ [System.Int32]
+ # Maximum number of Elastic workers for this App Service plan SKU.
+ ${SkuCapacityElasticMaximum},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
+ [System.Int32]
+ # Maximum number of workers for this App Service plan SKU.
+ ${SkuCapacityMaximum},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
+ [System.Int32]
+ # Minimum number of workers for this App Service plan SKU.
+ ${SkuCapacityMinimum},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
+ [System.String]
+ # Available scale configurations for an App Service plan.
+ ${SkuCapacityScaleType},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
+ [System.String]
+ # Family code of the resource SKU.
+ ${SkuFamily},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
+ [AllowEmptyCollection()]
+ [Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
+ [System.String[]]
+ # Locations of the SKU.
+ ${SkuLocation},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
[System.String]
# Name of the resource SKU.
${SkuName},
- [Parameter()]
- [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Websites.Support.StagingEnvironmentPolicy])]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.Websites.Support.StagingEnvironmentPolicy]
+ [System.String]
+ # Size specifier of the resource SKU.
+ ${SkuSize},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
+ [System.String]
+ # Service tier of the resource SKU.
+ ${SkuTier},
+
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
+ [Microsoft.Azure.PowerShell.Cmdlets.Websites.PSArgumentCompleterAttribute("Enabled", "Disabled")]
+ [Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
+ [System.String]
# State indicating whether staging environments are allowed or not allowed for a static web app.
${StagingEnvironmentPolicy},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
- [Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IResourceTags]))]
+ [Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IResourceTags]))]
[System.Collections.Hashtable]
# Resource tags.
${Tag},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
[System.String]
- # Description of the newly generated repository.
- ${ForkRepositoryDescription},
-
- [Parameter()]
- [Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
- [System.Management.Automation.SwitchParameter]
- # Whether or not the newly generated repository is a private repository.
- # Defaults to false (i.e.
- # public).
- ${ForkRepositoryIsPrivate},
+ # URL of the template repository.
+ # The newly generated repository will be based on this one.
+ ${TemplateRepositoryUrl},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateExpanded')]
+ [Parameter(ParameterSetName='CreateViaIdentityExpanded')]
+ [AllowEmptyCollection()]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
- [System.String]
- # Owner of the newly generated repository.
- ${ForkRepositoryOwner},
+ [System.String[]]
+ # The array of user assigned identities associated with the resource.
+ # The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.'
+ ${UserAssignedIdentity},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateViaJsonFilePath', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
[System.String]
- # Name of the newly generated repository.
- ${ForkRepositoryName},
+ # Path of Json file supplied to the Create operation
+ ${JsonFilePath},
- [Parameter()]
+ [Parameter(ParameterSetName='CreateViaJsonString', Mandatory)]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Body')]
[System.String]
- # URL of the template repository.
- # The newly generated repository will be based on this one.
- ${TemplateRepositoryUrl},
+ # Json string supplied to the Create operation
+ ${JsonString},
[Parameter()]
[Alias('AzureRMContext', 'AzureCredential')]
[ValidateNotNull()]
[Microsoft.Azure.PowerShell.Cmdlets.Websites.Category('Azure')]
[System.Management.Automation.PSObject]
- # The credentials, account, tenant, and subscription used for communication with Azure.
+ # The DefaultProfile parameter is not functional.
+ # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
${DefaultProfile},
[Parameter()]
@@ -284,7 +420,6 @@ param(
# Use the default credentials for the proxy
${ProxyUseDefaultCredentials}
)
-
process {
try {
if(!$PSBoundParameters.ContainsKey('RepositoryUrl')) {
diff --git a/src/Websites/Websites.Autorest/docs/Az.Websites.md b/src/Websites/Websites.Autorest/docs/Az.Websites.md
index 84275c1fda26..0c969cd3899f 100644
--- a/src/Websites/Websites.Autorest/docs/Az.Websites.md
+++ b/src/Websites/Websites.Autorest/docs/Az.Websites.md
@@ -1,6 +1,6 @@
---
Module Name: Az.Websites
-Module Guid: e2ccd5b0-af3a-415f-82ed-b9a388aeed61
+Module Guid: fc780f32-3a4b-4f14-a0ef-39438a2d33f8
Download Help Link: https://learn.microsoft.com/powershell/module/az.websites
Help Version: 1.0.0.0
Locale: en-US
@@ -75,25 +75,25 @@ Get or list triggered web job's history for an app.
List webjobs for an app.
### [New-AzStaticWebApp](New-AzStaticWebApp.md)
-Description for Creates a new static site in an existing resource group, or updates an existing static site.
+Description for create a new static site in an existing resource group, or create an existing static site.
### [New-AzStaticWebAppBuildAppSetting](New-AzStaticWebAppBuildAppSetting.md)
-Description for Creates or updates the app settings of a static site build.
+Description for create the app settings of a static site build.
### [New-AzStaticWebAppBuildFunctionAppSetting](New-AzStaticWebAppBuildFunctionAppSetting.md)
-Description for Creates or updates the function app settings of a static site build.
+Description for create the function app settings of a static site build.
### [New-AzStaticWebAppCustomDomain](New-AzStaticWebAppCustomDomain.md)
-Description for Creates a new static site custom domain in an existing resource group and static site.
+Description for create a new static site custom domain in an existing resource group and static site.
### [New-AzStaticWebAppFunctionAppSetting](New-AzStaticWebAppFunctionAppSetting.md)
-Description for Creates or updates the function app settings of a static site.
+Description for create the function app settings of a static site.
### [New-AzStaticWebAppSetting](New-AzStaticWebAppSetting.md)
-Description for Creates or updates the app settings of a static site.
+Description for create the app settings of a static site.
### [New-AzStaticWebAppUserRoleInvitationLink](New-AzStaticWebAppUserRoleInvitationLink.md)
-Description for Creates an invitation link for a user with the role
+Description for create an invitation link for a user with the role
### [Register-AzStaticWebAppUserProvidedFunctionApp](Register-AzStaticWebAppUserProvidedFunctionApp.md)
Description for Register a user provided function app with a static site build
@@ -156,8 +156,8 @@ Description for Detach the user provided function app from the static site build
Description for Detach the user provided function app from the static site
### [Update-AzStaticWebApp](Update-AzStaticWebApp.md)
-Description for Creates a new static site in an existing resource group, or updates an existing static site.
+Description for update a new static site in an existing resource group, or update an existing static site.
### [Update-AzStaticWebAppUser](Update-AzStaticWebAppUser.md)
-Description for Updates a user entry with the listed roles
+Description for update a user entry with the listed roles
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebApp.md b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebApp.md
index 98a9b1fe0147..1c2afe0b9b62 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebApp.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebApp.md
@@ -113,7 +113,6 @@ Accept wildcard characters: False
### -InputObject
Identity Parameter
-To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
@@ -183,7 +182,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IStaticSiteArmResource
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IStaticSiteArmResource
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppBuild.md b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppBuild.md
index ab43028ab87d..4393d5e252ce 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppBuild.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppBuild.md
@@ -29,6 +29,12 @@ Get-AzStaticWebAppBuild -EnvironmentName -Name -ResourceGroupN
Get-AzStaticWebAppBuild -InputObject [-DefaultProfile ] []
```
+### GetViaIdentityStaticSite
+```
+Get-AzStaticWebAppBuild -EnvironmentName -StaticSiteInputObject
+ [-DefaultProfile ] []
+```
+
## DESCRIPTION
Description for Gets the details of a static site build.
@@ -97,7 +103,7 @@ The stage site identifier.
```yaml
Type: System.String
-Parameter Sets: Get
+Parameter Sets: Get, GetViaIdentityStaticSite
Aliases:
Required: True
@@ -109,7 +115,6 @@ Accept wildcard characters: False
### -InputObject
Identity Parameter
-To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
@@ -153,6 +158,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -StaticSiteInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
+Parameter Sets: GetViaIdentityStaticSite
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -SubscriptionId
Your Azure subscription ID.
This is a GUID-formatted string (e.g.
@@ -179,7 +199,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IStaticSiteBuildArmResource
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IStaticSiteBuildArmResource
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppBuildAppSetting.md b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppBuildAppSetting.md
index 47b0ffb8b3b1..78dfd3a32b3c 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppBuildAppSetting.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppBuildAppSetting.md
@@ -153,7 +153,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IStringDictionary
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IStringDictionary
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppBuildFunction.md b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppBuildFunction.md
index 1b8af5c0a2d5..533a78ab1af9 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppBuildFunction.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppBuildFunction.md
@@ -122,7 +122,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IStaticSiteFunctionOverviewArmResource
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IStaticSiteFunctionOverviewArmResource
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppBuildFunctionAppSetting.md b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppBuildFunctionAppSetting.md
index c17031a23d56..0cfdced97141 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppBuildFunctionAppSetting.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppBuildFunctionAppSetting.md
@@ -153,7 +153,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IStringDictionary
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IStringDictionary
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppConfiguredRole.md b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppConfiguredRole.md
index 34a1f6d709e2..cb39b49d896c 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppConfiguredRole.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppConfiguredRole.md
@@ -138,7 +138,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IStringList
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IStringList
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppCustomDomain.md b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppCustomDomain.md
index d7d3922ce870..dea225dee5a9 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppCustomDomain.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppCustomDomain.md
@@ -30,6 +30,12 @@ Get-AzStaticWebAppCustomDomain -InputObject [-DefaultProfile
[]
```
+### GetViaIdentityStaticSite
+```
+Get-AzStaticWebAppCustomDomain -DomainName -StaticSiteInputObject
+ [-DefaultProfile ] []
+```
+
## DESCRIPTION
Description for Gets an existing custom domain for a particular static site.
@@ -97,7 +103,7 @@ The custom domain name.
```yaml
Type: System.String
-Parameter Sets: Get
+Parameter Sets: Get, GetViaIdentityStaticSite
Aliases:
Required: True
@@ -109,7 +115,6 @@ Accept wildcard characters: False
### -InputObject
Identity Parameter
-To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
@@ -153,6 +158,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -StaticSiteInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
+Parameter Sets: GetViaIdentityStaticSite
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -SubscriptionId
Your Azure subscription ID.
This is a GUID-formatted string (e.g.
@@ -179,7 +199,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IStaticSiteCustomDomainOverviewArmResource
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IStaticSiteCustomDomainOverviewArmResource
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppFunction.md b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppFunction.md
index a0a604610d5a..adcd24a0e323 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppFunction.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppFunction.md
@@ -102,7 +102,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IStaticSiteFunctionOverviewArmResource
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IStaticSiteFunctionOverviewArmResource
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppFunctionAppSetting.md b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppFunctionAppSetting.md
index f8c51977836f..7faa02a7627b 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppFunctionAppSetting.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppFunctionAppSetting.md
@@ -138,7 +138,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IStringDictionary
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IStringDictionary
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppSecret.md b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppSecret.md
index 1c3910e542bb..c35af5c26e83 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppSecret.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppSecret.md
@@ -138,7 +138,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IStringDictionary
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IStringDictionary
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppSetting.md b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppSetting.md
index 68bd3f9c810a..fdabb440912a 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppSetting.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppSetting.md
@@ -138,7 +138,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IStringDictionary
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IStringDictionary
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppUser.md b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppUser.md
index b3fe21760ebc..783b5ee8005e 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppUser.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppUser.md
@@ -153,7 +153,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IStaticSiteUserArmResource
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IStaticSiteUserArmResource
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppUserProvidedFunctionApp.md b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppUserProvidedFunctionApp.md
index 0d81a5cbc38b..d14daf23981f 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppUserProvidedFunctionApp.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzStaticWebAppUserProvidedFunctionApp.md
@@ -30,6 +30,18 @@ Get-AzStaticWebAppUserProvidedFunctionApp -InputObject [-Def
[]
```
+### GetViaIdentityBuild
+```
+Get-AzStaticWebAppUserProvidedFunctionApp -BuildInputObject -FunctionAppName
+ [-DefaultProfile ] []
+```
+
+### GetViaIdentityStaticSite
+```
+Get-AzStaticWebAppUserProvidedFunctionApp -EnvironmentName -FunctionAppName
+ -StaticSiteInputObject [-DefaultProfile ] []
+```
+
### List
```
Get-AzStaticWebAppUserProvidedFunctionApp -EnvironmentName -Name -ResourceGroupName
@@ -114,6 +126,21 @@ This command gets the details of the user provided function app registered with
## PARAMETERS
+### -BuildInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
+Parameter Sets: GetViaIdentityBuild
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -DefaultProfile
The DefaultProfile parameter is not functional.
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
@@ -135,7 +162,7 @@ The stage site identifier.
```yaml
Type: System.String
-Parameter Sets: Get, List
+Parameter Sets: Get, GetViaIdentityStaticSite, List
Aliases:
Required: True
@@ -150,7 +177,7 @@ Name of the function app registered with the static site build.
```yaml
Type: System.String
-Parameter Sets: Get, List2
+Parameter Sets: Get, GetViaIdentityBuild, GetViaIdentityStaticSite, List2
Aliases:
Required: True
@@ -162,7 +189,6 @@ Accept wildcard characters: False
### -InputObject
Identity Parameter
-To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
@@ -206,6 +232,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -StaticSiteInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
+Parameter Sets: GetViaIdentityStaticSite
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -SubscriptionId
Your Azure subscription ID.
This is a GUID-formatted string (e.g.
@@ -232,7 +273,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20201201.IStaticSiteUserProvidedFunctionAppArmResource
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IStaticSiteUserProvidedFunctionAppArmResource
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzWebAppContinuousWebJob.md b/src/Websites/Websites.Autorest/docs/Get-AzWebAppContinuousWebJob.md
index d563d0d94456..59637f301057 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzWebAppContinuousWebJob.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzWebAppContinuousWebJob.md
@@ -21,12 +21,18 @@ Get-AzWebAppContinuousWebJob -AppName -ResourceGroupName [-Sub
### Get
```
Get-AzWebAppContinuousWebJob -AppName -Name -ResourceGroupName
- [-SubscriptionId ] [-DefaultProfile ] [-PassThru] []
+ [-SubscriptionId ] [-DefaultProfile ] []
```
### GetViaIdentity
```
-Get-AzWebAppContinuousWebJob -InputObject [-DefaultProfile ] [-PassThru]
+Get-AzWebAppContinuousWebJob -InputObject [-DefaultProfile ]
+ []
+```
+
+### GetViaIdentitySite
+```
+Get-AzWebAppContinuousWebJob -Name -SiteInputObject [-DefaultProfile ]
[]
```
@@ -112,7 +118,6 @@ Accept wildcard characters: False
### -InputObject
Identity Parameter
-To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
@@ -131,7 +136,7 @@ Name of Web Job.
```yaml
Type: System.String
-Parameter Sets: Get
+Parameter Sets: Get, GetViaIdentitySite
Aliases:
Required: True
@@ -141,33 +146,33 @@ Accept pipeline input: False
Accept wildcard characters: False
```
-### -PassThru
-Returns true when the command succeeds
+### -ResourceGroupName
+Name of the resource group to which the resource belongs.
```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: Get, GetViaIdentity
+Type: System.String
+Parameter Sets: Get, List
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
-### -ResourceGroupName
-Name of the resource group to which the resource belongs.
+### -SiteInputObject
+Identity Parameter
```yaml
-Type: System.String
-Parameter Sets: Get, List
+Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
+Parameter Sets: GetViaIdentitySite
Aliases:
Required: True
Position: Named
Default value: None
-Accept pipeline input: False
+Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
@@ -197,7 +202,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IContinuousWebJob
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IContinuousWebJob
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzWebAppSlotContinuousWebJob.md b/src/Websites/Websites.Autorest/docs/Get-AzWebAppSlotContinuousWebJob.md
index bac8b01748e2..b14a1d745cf0 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzWebAppSlotContinuousWebJob.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzWebAppSlotContinuousWebJob.md
@@ -21,15 +21,27 @@ Get-AzWebAppSlotContinuousWebJob -AppName -ResourceGroupName -
### Get
```
Get-AzWebAppSlotContinuousWebJob -AppName -Name -ResourceGroupName
- -SlotName [-SubscriptionId ] [-DefaultProfile ] [-PassThru] []
+ -SlotName [-SubscriptionId ] [-DefaultProfile ] []
```
### GetViaIdentity
```
-Get-AzWebAppSlotContinuousWebJob -InputObject [-DefaultProfile ] [-PassThru]
+Get-AzWebAppSlotContinuousWebJob -InputObject [-DefaultProfile ]
[]
```
+### GetViaIdentityContinuouswebjob
+```
+Get-AzWebAppSlotContinuousWebJob -ContinuouswebjobInputObject -SlotName
+ [-DefaultProfile ] []
+```
+
+### GetViaIdentitySite
+```
+Get-AzWebAppSlotContinuousWebJob -Name -SiteInputObject -SlotName
+ [-DefaultProfile ] []
+```
+
## DESCRIPTION
Get or list continuous web for a deployment slot.
@@ -94,6 +106,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -ContinuouswebjobInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
+Parameter Sets: GetViaIdentityContinuouswebjob
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -DefaultProfile
The DefaultProfile parameter is not functional.
Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
@@ -112,7 +139,6 @@ Accept wildcard characters: False
### -InputObject
Identity Parameter
-To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
@@ -131,7 +157,7 @@ Name of Web Job.
```yaml
Type: System.String
-Parameter Sets: Get
+Parameter Sets: Get, GetViaIdentitySite
Aliases:
Required: True
@@ -141,33 +167,33 @@ Accept pipeline input: False
Accept wildcard characters: False
```
-### -PassThru
-Returns true when the command succeeds
+### -ResourceGroupName
+Name of the resource group to which the resource belongs.
```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: Get, GetViaIdentity
+Type: System.String
+Parameter Sets: Get, List
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
-### -ResourceGroupName
-Name of the resource group to which the resource belongs.
+### -SiteInputObject
+Identity Parameter
```yaml
-Type: System.String
-Parameter Sets: Get, List
+Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
+Parameter Sets: GetViaIdentitySite
Aliases:
Required: True
Position: Named
Default value: None
-Accept pipeline input: False
+Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
@@ -177,7 +203,7 @@ If a slot is not specified, the API deletes a deployment for the production slot
```yaml
Type: System.String
-Parameter Sets: Get, List
+Parameter Sets: Get, GetViaIdentityContinuouswebjob, GetViaIdentitySite, List
Aliases:
Required: True
@@ -213,7 +239,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IContinuousWebJob
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IContinuousWebJob
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzWebAppSlotTriggeredWebJob.md b/src/Websites/Websites.Autorest/docs/Get-AzWebAppSlotTriggeredWebJob.md
index e1ed639fc601..732d44138113 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzWebAppSlotTriggeredWebJob.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzWebAppSlotTriggeredWebJob.md
@@ -21,15 +21,27 @@ Get-AzWebAppSlotTriggeredWebJob -AppName -ResourceGroupName -S
### Get
```
Get-AzWebAppSlotTriggeredWebJob -AppName -Name -ResourceGroupName
- -SlotName [-SubscriptionId ] [-DefaultProfile ] [-PassThru] []
+ -SlotName [-SubscriptionId ] [-DefaultProfile ] []
```
### GetViaIdentity
```
-Get-AzWebAppSlotTriggeredWebJob -InputObject [-DefaultProfile ] [-PassThru]
+Get-AzWebAppSlotTriggeredWebJob -InputObject [-DefaultProfile ]
[]
```
+### GetViaIdentitySite
+```
+Get-AzWebAppSlotTriggeredWebJob -Name -SiteInputObject -SlotName
+ [-DefaultProfile ] []
+```
+
+### GetViaIdentityTriggeredwebjob
+```
+Get-AzWebAppSlotTriggeredWebJob -SlotName -TriggeredwebjobInputObject
+ [-DefaultProfile ] []
+```
+
## DESCRIPTION
Get or list triggered web for a deployment slot.
@@ -112,7 +124,6 @@ Accept wildcard characters: False
### -InputObject
Identity Parameter
-To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
@@ -131,7 +142,7 @@ Name of Web Job.
```yaml
Type: System.String
-Parameter Sets: Get
+Parameter Sets: Get, GetViaIdentitySite
Aliases:
Required: True
@@ -141,33 +152,33 @@ Accept pipeline input: False
Accept wildcard characters: False
```
-### -PassThru
-Returns true when the command succeeds
+### -ResourceGroupName
+Name of the resource group to which the resource belongs.
```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: Get, GetViaIdentity
+Type: System.String
+Parameter Sets: Get, List
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
-### -ResourceGroupName
-Name of the resource group to which the resource belongs.
+### -SiteInputObject
+Identity Parameter
```yaml
-Type: System.String
-Parameter Sets: Get, List
+Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
+Parameter Sets: GetViaIdentitySite
Aliases:
Required: True
Position: Named
Default value: None
-Accept pipeline input: False
+Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
@@ -177,7 +188,7 @@ If a slot is not specified, the API uses the production slot.
```yaml
Type: System.String
-Parameter Sets: Get, List
+Parameter Sets: Get, GetViaIdentitySite, GetViaIdentityTriggeredwebjob, List
Aliases:
Required: True
@@ -204,6 +215,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -TriggeredwebjobInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
+Parameter Sets: GetViaIdentityTriggeredwebjob
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### CommonParameters
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).
@@ -213,7 +239,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ITriggeredWebJob
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.ITriggeredWebJob
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzWebAppSlotTriggeredWebJobHistory.md b/src/Websites/Websites.Autorest/docs/Get-AzWebAppSlotTriggeredWebJobHistory.md
index 6b6a27e8ae6a..35884b8c346f 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzWebAppSlotTriggeredWebJobHistory.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzWebAppSlotTriggeredWebJobHistory.md
@@ -15,20 +15,38 @@ Get or list triggered web job's history for a deployment slot.
### List (Default)
```
Get-AzWebAppSlotTriggeredWebJobHistory -AppName -Name -ResourceGroupName
- -SlotName [-SubscriptionId ] [-DefaultProfile ] [-PassThru] []
+ -SlotName [-SubscriptionId ] [-DefaultProfile ] []
```
### Get
```
Get-AzWebAppSlotTriggeredWebJobHistory -AppName -Id -Name
-ResourceGroupName -SlotName [-SubscriptionId ] [-DefaultProfile ]
- [-PassThru] []
+ []
```
### GetViaIdentity
```
Get-AzWebAppSlotTriggeredWebJobHistory -InputObject [-DefaultProfile ]
- [-PassThru] []
+ []
+```
+
+### GetViaIdentityHistory
+```
+Get-AzWebAppSlotTriggeredWebJobHistory -HistoryInputObject -SlotName
+ [-DefaultProfile ] []
+```
+
+### GetViaIdentitySite
+```
+Get-AzWebAppSlotTriggeredWebJobHistory -Id -Name -SiteInputObject
+ -SlotName [-DefaultProfile ] []
+```
+
+### GetViaIdentityTriggeredwebjob
+```
+Get-AzWebAppSlotTriggeredWebJobHistory -Id -SlotName
+ -TriggeredwebjobInputObject [-DefaultProfile ] []
```
## DESCRIPTION
@@ -109,12 +127,27 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -HistoryInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
+Parameter Sets: GetViaIdentityHistory
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### -Id
History ID.
```yaml
Type: System.String
-Parameter Sets: Get
+Parameter Sets: Get, GetViaIdentitySite, GetViaIdentityTriggeredwebjob
Aliases:
Required: True
@@ -126,7 +159,6 @@ Accept wildcard characters: False
### -InputObject
Identity Parameter
-To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
@@ -145,7 +177,7 @@ Name of Web Job.
```yaml
Type: System.String
-Parameter Sets: Get, List
+Parameter Sets: Get, GetViaIdentitySite, List
Aliases:
Required: True
@@ -155,33 +187,33 @@ Accept pipeline input: False
Accept wildcard characters: False
```
-### -PassThru
-Returns true when the command succeeds
+### -ResourceGroupName
+Name of the resource group to which the resource belongs.
```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
+Type: System.String
+Parameter Sets: Get, List
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
-### -ResourceGroupName
-Name of the resource group to which the resource belongs.
+### -SiteInputObject
+Identity Parameter
```yaml
-Type: System.String
-Parameter Sets: Get, List
+Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
+Parameter Sets: GetViaIdentitySite
Aliases:
Required: True
Position: Named
Default value: None
-Accept pipeline input: False
+Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
@@ -191,7 +223,7 @@ If a slot is not specified, the API uses the production slot.
```yaml
Type: System.String
-Parameter Sets: Get, List
+Parameter Sets: Get, GetViaIdentityHistory, GetViaIdentitySite, GetViaIdentityTriggeredwebjob, List
Aliases:
Required: True
@@ -218,6 +250,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -TriggeredwebjobInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
+Parameter Sets: GetViaIdentityTriggeredwebjob
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### CommonParameters
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).
@@ -227,7 +274,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ITriggeredJobHistory
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.ITriggeredJobHistory
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzWebAppSlotWebJob.md b/src/Websites/Websites.Autorest/docs/Get-AzWebAppSlotWebJob.md
index 905bee3fc2ee..4b71056f272f 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzWebAppSlotWebJob.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzWebAppSlotWebJob.md
@@ -126,7 +126,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IWebJob
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebJob
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzWebAppTriggeredWebJob.md b/src/Websites/Websites.Autorest/docs/Get-AzWebAppTriggeredWebJob.md
index 40a6798629fb..8a03a475f464 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzWebAppTriggeredWebJob.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzWebAppTriggeredWebJob.md
@@ -21,12 +21,17 @@ Get-AzWebAppTriggeredWebJob -AppName -ResourceGroupName [-Subs
### Get
```
Get-AzWebAppTriggeredWebJob -AppName -Name -ResourceGroupName
- [-SubscriptionId ] [-DefaultProfile ] [-PassThru] []
+ [-SubscriptionId ] [-DefaultProfile ] []
```
### GetViaIdentity
```
-Get-AzWebAppTriggeredWebJob -InputObject [-DefaultProfile ] [-PassThru]
+Get-AzWebAppTriggeredWebJob -InputObject [-DefaultProfile ] []
+```
+
+### GetViaIdentitySite
+```
+Get-AzWebAppTriggeredWebJob -Name -SiteInputObject [-DefaultProfile ]
[]
```
@@ -112,7 +117,6 @@ Accept wildcard characters: False
### -InputObject
Identity Parameter
-To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
@@ -131,7 +135,7 @@ Name of Web Job.
```yaml
Type: System.String
-Parameter Sets: Get
+Parameter Sets: Get, GetViaIdentitySite
Aliases:
Required: True
@@ -141,33 +145,33 @@ Accept pipeline input: False
Accept wildcard characters: False
```
-### -PassThru
-Returns true when the command succeeds
+### -ResourceGroupName
+Name of the resource group to which the resource belongs.
```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: Get, GetViaIdentity
+Type: System.String
+Parameter Sets: Get, List
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
-### -ResourceGroupName
-Name of the resource group to which the resource belongs.
+### -SiteInputObject
+Identity Parameter
```yaml
-Type: System.String
-Parameter Sets: Get, List
+Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
+Parameter Sets: GetViaIdentitySite
Aliases:
Required: True
Position: Named
Default value: None
-Accept pipeline input: False
+Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
@@ -197,7 +201,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ITriggeredWebJob
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.ITriggeredWebJob
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzWebAppTriggeredWebJobHistory.md b/src/Websites/Websites.Autorest/docs/Get-AzWebAppTriggeredWebJobHistory.md
index 8941c42d13cb..d9a8ccbb7e11 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzWebAppTriggeredWebJobHistory.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzWebAppTriggeredWebJobHistory.md
@@ -15,21 +15,33 @@ Get or list triggered web job's history for an app.
### List (Default)
```
Get-AzWebAppTriggeredWebJobHistory -AppName -Name -ResourceGroupName
- [-SubscriptionId ] [-DefaultProfile ] [-PassThru] []
+ [-SubscriptionId ] [-DefaultProfile ] []
```
### Get
```
Get-AzWebAppTriggeredWebJobHistory -AppName -Id -Name -ResourceGroupName
- [-SubscriptionId ] [-DefaultProfile ] [-PassThru] []
+ [-SubscriptionId ] [-DefaultProfile ] []
```
### GetViaIdentity
```
-Get-AzWebAppTriggeredWebJobHistory -InputObject [-DefaultProfile ] [-PassThru]
+Get-AzWebAppTriggeredWebJobHistory -InputObject [-DefaultProfile ]
[]
```
+### GetViaIdentitySite
+```
+Get-AzWebAppTriggeredWebJobHistory -Id -Name -SiteInputObject
+ [-DefaultProfile ] []
+```
+
+### GetViaIdentityTriggeredwebjob
+```
+Get-AzWebAppTriggeredWebJobHistory -Id -TriggeredwebjobInputObject
+ [-DefaultProfile ] []
+```
+
## DESCRIPTION
Get or list triggered web job's history for an app.
@@ -114,7 +126,7 @@ History ID.
```yaml
Type: System.String
-Parameter Sets: Get
+Parameter Sets: Get, GetViaIdentitySite, GetViaIdentityTriggeredwebjob
Aliases:
Required: True
@@ -126,7 +138,6 @@ Accept wildcard characters: False
### -InputObject
Identity Parameter
-To construct, see NOTES section for INPUTOBJECT properties and create a hash table.
```yaml
Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
@@ -145,7 +156,7 @@ Name of Web Job.
```yaml
Type: System.String
-Parameter Sets: Get, List
+Parameter Sets: Get, GetViaIdentitySite, List
Aliases:
Required: True
@@ -155,33 +166,33 @@ Accept pipeline input: False
Accept wildcard characters: False
```
-### -PassThru
-Returns true when the command succeeds
+### -ResourceGroupName
+Name of the resource group to which the resource belongs.
```yaml
-Type: System.Management.Automation.SwitchParameter
-Parameter Sets: (All)
+Type: System.String
+Parameter Sets: Get, List
Aliases:
-Required: False
+Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```
-### -ResourceGroupName
-Name of the resource group to which the resource belongs.
+### -SiteInputObject
+Identity Parameter
```yaml
-Type: System.String
-Parameter Sets: Get, List
+Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
+Parameter Sets: GetViaIdentitySite
Aliases:
Required: True
Position: Named
Default value: None
-Accept pipeline input: False
+Accept pipeline input: True (ByValue)
Accept wildcard characters: False
```
@@ -202,6 +213,21 @@ Accept pipeline input: False
Accept wildcard characters: False
```
+### -TriggeredwebjobInputObject
+Identity Parameter
+
+```yaml
+Type: Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebsitesIdentity
+Parameter Sets: GetViaIdentityTriggeredwebjob
+Aliases:
+
+Required: True
+Position: Named
+Default value: None
+Accept pipeline input: True (ByValue)
+Accept wildcard characters: False
+```
+
### CommonParameters
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).
@@ -211,7 +237,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ITriggeredJobHistory
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.ITriggeredJobHistory
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/Get-AzWebAppWebJob.md b/src/Websites/Websites.Autorest/docs/Get-AzWebAppWebJob.md
index 023232e94ef8..1b1e45ad84fa 100644
--- a/src/Websites/Websites.Autorest/docs/Get-AzWebAppWebJob.md
+++ b/src/Websites/Websites.Autorest/docs/Get-AzWebAppWebJob.md
@@ -110,7 +110,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
## OUTPUTS
-### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.IWebJob
+### Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.IWebJob
## NOTES
diff --git a/src/Websites/Websites.Autorest/docs/New-AzStaticWebApp.md b/src/Websites/Websites.Autorest/docs/New-AzStaticWebApp.md
index 4a4bdfa5df52..b8d27c824720 100644
--- a/src/Websites/Websites.Autorest/docs/New-AzStaticWebApp.md
+++ b/src/Websites/Websites.Autorest/docs/New-AzStaticWebApp.md
@@ -8,25 +8,57 @@ schema: 2.0.0
# New-AzStaticWebApp
## SYNOPSIS
-Description for Creates a new static site in an existing resource group, or updates an existing static site.
+Description for create a new static site in an existing resource group, or create an existing static site.
## SYNTAX
+### CreateExpanded (Default)
```
New-AzStaticWebApp -Name -ResourceGroupName -Location [-SubscriptionId ]
[-AllowConfigFileUpdate] [-ApiBuildCommand ] [-ApiLocation ] [-AppArtifactLocation ]
[-AppBuildCommand ] [-AppLocation ] [-Branch ] [-Capacity ]
- [-ForkRepositoryDescription ] [-ForkRepositoryIsPrivate] [-ForkRepositoryName ]
- [-ForkRepositoryOwner ] [-GithubActionSecretNameOverride ]
- [-IdentityType ] [-IdentityUserAssignedIdentity ] [-Kind ]
- [-OutputLocation ] [-RepositoryToken ] [-RepositoryUrl ]
- [-SkipGithubActionWorkflowGeneration] [-SkuName ]
- [-StagingEnvironmentPolicy ] [-Tag ] [-TemplateRepositoryUrl ]
+ [-EnableSystemAssignedIdentity] [-ForkRepositoryDescription ] [-ForkRepositoryIsPrivate]
+ [-ForkRepositoryName ] [-ForkRepositoryOwner ] [-GithubActionSecretNameOverride ]
+ [-Kind ] [-OutputLocation ] [-RepositoryToken ] [-RepositoryUrl ]
+ [-SkipGithubActionWorkflowGeneration] [-SkuCapability ] [-SkuCapacityDefault ]
+ [-SkuCapacityElasticMaximum ] [-SkuCapacityMaximum ] [-SkuCapacityMinimum ]
+ [-SkuCapacityScaleType