internal/ProxyCmdletDefinitions.ps1
# ---------------------------------------------------------------------------------- # 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. # ---------------------------------------------------------------------------------- <# .Synopsis Description for Creates a backup of an app. .Description Description for Creates a backup of an app. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IBackupRequest .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IBackupItem .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. DATABASE <IDatabaseBackupSetting[]>: Databases included in the backup. DatabaseType <DatabaseType>: Database type (e.g. SqlAzure / MySql). [ConnectionString <String>]: Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one. [ConnectionStringName <String>]: Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options. [Name <String>]: INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. REQUEST <IBackupRequest>: Description of a backup which will be performed. [Kind <String>]: Kind of resource. [BackupName <String>]: Name of the backup. [BackupScheduleFrequencyInterval <Int32?>]: How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day) [BackupScheduleFrequencyUnit <FrequencyUnit?>]: The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7) [BackupScheduleKeepAtLeastOneBackup <Boolean?>]: True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise. [BackupScheduleRetentionPeriodInDay <Int32?>]: After how many days backups should be deleted. [BackupScheduleStartTime <DateTime?>]: When the schedule should start working. [Database <IDatabaseBackupSetting[]>]: Databases included in the backup. DatabaseType <DatabaseType>: Database type (e.g. SqlAzure / MySql). [ConnectionString <String>]: Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one. [ConnectionStringName <String>]: Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options. [Name <String>]: [Enabled <Boolean?>]: True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled. [StorageAccountUrl <String>]: SAS URL to the container. .Link https://docs.microsoft.com/powershell/module/az.functions/backup-azfunctionapp #> function Backup-AzFunctionApp { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IBackupItem])] [CmdletBinding(DefaultParameterSetName='BackupExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Backup', Mandatory)] [Parameter(ParameterSetName='BackupExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(ParameterSetName='Backup', Mandatory)] [Parameter(ParameterSetName='BackupExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Backup')] [Parameter(ParameterSetName='BackupExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='BackupViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='BackupViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Backup', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='BackupViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IBackupRequest] # Description of a backup which will be performed. # To construct, see NOTES section for REQUEST properties and create a hash table. ${Request}, [Parameter(ParameterSetName='BackupExpanded')] [Parameter(ParameterSetName='BackupViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Name of the backup. ${BackupName}, [Parameter(ParameterSetName='BackupExpanded')] [Parameter(ParameterSetName='BackupViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # How often the backup should be executed (e.g. # for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day) ${BackupScheduleFrequencyInterval}, [Parameter(ParameterSetName='BackupExpanded')] [Parameter(ParameterSetName='BackupViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FrequencyUnit])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FrequencyUnit] # The unit of time for how often the backup should be executed (e.g. # for weekly backup, this should be set to Day and FrequencyInterval should be set to 7) ${BackupScheduleFrequencyUnit}, [Parameter(ParameterSetName='BackupExpanded')] [Parameter(ParameterSetName='BackupViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise. ${BackupScheduleKeepAtLeastOneBackup}, [Parameter(ParameterSetName='BackupExpanded')] [Parameter(ParameterSetName='BackupViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # After how many days backups should be deleted. ${BackupScheduleRetentionPeriodInDay}, [Parameter(ParameterSetName='BackupExpanded')] [Parameter(ParameterSetName='BackupViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.DateTime] # When the schedule should start working. ${BackupScheduleStartTime}, [Parameter(ParameterSetName='BackupExpanded')] [Parameter(ParameterSetName='BackupViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IDatabaseBackupSetting[]] # Databases included in the backup. # To construct, see NOTES section for DATABASE properties and create a hash table. ${Database}, [Parameter(ParameterSetName='BackupExpanded')] [Parameter(ParameterSetName='BackupViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled. ${Enabled}, [Parameter(ParameterSetName='BackupExpanded')] [Parameter(ParameterSetName='BackupViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${Kind}, [Parameter(ParameterSetName='BackupExpanded')] [Parameter(ParameterSetName='BackupViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # SAS URL to the container. ${StorageAccountUrl}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Backup = 'Az.Functions.private\Backup-AzFunctionApp_Backup'; BackupExpanded = 'Az.Functions.private\Backup-AzFunctionApp_BackupExpanded'; BackupViaIdentity = 'Az.Functions.private\Backup-AzFunctionApp_BackupViaIdentity'; BackupViaIdentityExpanded = 'Az.Functions.private\Backup-AzFunctionApp_BackupViaIdentityExpanded'; } if (('Backup', 'BackupExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Get the API Key for this key id. .Description Get the API Key for this key id. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IApplicationInsightsComponentApiKey .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/get-azappinsightsapikey #> function Get-AzAppInsightsApiKey { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IApplicationInsightsComponentApiKey])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The API Key ID. # This is unique within a Application Insights component. ${KeyId}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The name of the Application Insights component resource. ${ResourceName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.Functions.private\Get-AzAppInsightsApiKey_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzAppInsightsApiKey_GetViaIdentity'; List = 'Az.Functions.private\Get-AzAppInsightsApiKey_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Returns an Application Insights component. .Description Returns an Application Insights component. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IApplicationInsightsComponent .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/get-azappinsights #> function Get-AzAppInsights { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IApplicationInsightsComponent])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List1', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The name of the Application Insights component resource. ${ResourceName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='List1')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.Functions.private\Get-AzAppInsights_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzAppInsights_GetViaIdentity'; List = 'Az.Functions.private\Get-AzAppInsights_List'; List1 = 'Az.Functions.private\Get-AzAppInsights_List1'; } if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Get a list of available geographical regions. .Description Description for Get a list of available geographical regions. .Example PS C:\> Get-AzFunctionAppAvailableLocation Name ---- Central US North Europe West Europe Southeast Asia East Asia West US East US Japan West Japan East East US 2 North Central US South Central US Brazil South Australia East Australia Southeast East Asia (Stage) West India South India Canada Central West US 2 UK West UK South East US 2 EUAP Central US EUAP Korea Central France Central Australia Central 2 Australia Central Germany West Central Norway East .Example PS C:\> Get-AzFunctionAppAvailableLocation -PlanType Premium -OSType Linux Name ---- Central US North Europe West Europe Southeast Asia East Asia West US East US Japan West Japan East East US 2 North Central US South Central US Brazil South Australia East Australia Southeast West India Canada Central West Central US West US 2 UK West UK South Central US EUAP Korea Central France Central Norway East .Example PS C:\> Get-AzFunctionAppAvailableLocation -PlanType Consumption -OSType Windows Name ---- Central US North Europe West Europe Southeast Asia East Asia West US East US Japan West Japan East East US 2 North Central US South Central US Brazil South Australia East Australia Southeast East Asia (Stage) Central India West India South India Canada Central Canada East West Central US West US 2 UK West UK South East US 2 EUAP Central US EUAP Korea Central France Central Australia Central 2 Australia Central South Africa North Switzerland North Germany West Central .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IGeoRegion .Link https://docs.microsoft.com/powershell/module/az.functions/get-azfunctionappavailablelocation #> function Get-AzFunctionAppAvailableLocation { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IGeoRegion])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Query')] [System.Management.Automation.SwitchParameter] # Specify <code>true</code> if you want to filter to only regions that support Linux Consumption Workers. ${LinuxDynamicWorkersEnabled}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Query')] [System.Management.Automation.SwitchParameter] # Specify <code>true</code> if you want to filter to only regions that support Linux workers. ${LinuxWorkersEnabled}, [Parameter()] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SkuName])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Query')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SkuName] # Name of SKU used to filter the regions. ${Sku}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Query')] [System.Management.Automation.SwitchParameter] # Specify <code>true</code> if you want to filter to only regions that support Xenon workers. ${XenonWorkersEnabled}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Az.Functions.private\Get-AzFunctionAppAvailableLocation_List'; } if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Get an App Service plan. .Description Description for Get an App Service plan. .Example PS C:\> Get-AzFunctionAppPlan Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId ---- ---------- ------- ------- -------- ----------------- -------------- Func99-West-Europe-Linux-Premium Linux ElasticPremium EP1 West Europe Func99-West-Europe-Linux-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b Func99-Windows-Premium1680894595 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b Func99-Windows-Premium428118799 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b Func99-Windows-Premium677505437 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b Func99-Windows-Premium711892854 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b Func99-Windows-Premium819994758 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b .Example PS C:\> Get-AzFunctionAppPlan -ResourceGroupName "West Europe" Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId ---- ---------- ------- ------- -------- ----------------- -------------- Func99-West-Europe-Linux-Premium Linux ElasticPremium EP1 West Europe Func99-West-Europe-Linux-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b Func99-Windows-Premium1680894595 Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8b .Example PS C:\> Get-AzFunctionAppPlan -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8z Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId ---- ---------- ------- ------- -------- ----------------- -------------- Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 West Europe Func99-West-Europe-Win-Premium fe16564a-d943-4bf8-8c28-cf01708c3f8z .Example PS C:\> Get-AzFunctionAppPlan -Location "Central US" Name WorkerType SkuTier SkuName Location ResourceGroupName SubscriptionId ---- ---------- ------- ------- -------- ----------------- -------------- Func99-West-Europe-Windows-Premium Windows ElasticPremium EP1 Central US Func99-West-Europe-Win-Premium 3r16564a-d943-4bf8-8c28-cf01708c3f8b .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/get-azfunctionappplan #> function Get-AzFunctionAppPlan { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the App Service plan. ${Name}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List1', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='List1')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Query')] [System.Management.Automation.SwitchParameter] # Specify <code>true</code> to return all App Service plan properties. # The default is <code>false</code>, which returns a subset of the properties. # Retrieval of all properties may increase the API latency. ${Detailed}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='GetViaIdentity')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.Functions.private\Get-AzFunctionAppPlan_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzFunctionAppPlan_GetViaIdentity'; List = 'Az.Functions.private\Get-AzFunctionAppPlan_List'; List1 = 'Az.Functions.private\Get-AzFunctionAppPlan_List1'; } if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Gets the details of a web, mobile, or API app. .Description Description for Gets the details of a web, mobile, or API app. .Example PS C:\> Get-AzFunctionApp Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId ---- ------ ------ ------- -------- -------------- ----------------- -------------- Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b Functions1-Windows-Java Running Windows Java West Europe Premium1-WE Functions-West-Europe1 fe16564a-d943-4bf8-8c28-cf01708c3f8b .Example PS C:\> Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win -Name Functions1-Windows-DoNet Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId ---- ------ ------ ------- -------- -------------- ----------------- -------------- Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b .Example PS C:\> Get-AzFunctionApp -ResourceGroupName Functions-West-Europe-Win Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId ---- ------ ------ ------- -------- -------------- ----------------- -------------- Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b .Example PS C:\> Get-AzFunctionApp -SubscriptionId fe16564a-d943-4bf8-8c28-cf01708c3f8b Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId ---- ------ ------ ------- -------- -------------- ----------------- -------------- Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b .Example PS C:\> Get-AzFunctionApp -Location "Central US" Name Status OSType Runtime Location AppServicePlan ResourceGroupName SubscriptionId ---- ------ ------ ------- -------- -------------- ----------------- -------------- Functions1-Windows-DoNet Running Windows DotNet Central US CentralUSPlan Functions-West-Europe-Win fe16564a-d943-4bf8-8c28-cf01708c3f8b .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/get-azfunctionapp #> function Get-AzFunctionApp { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List1', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='List1')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='List1')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Query')] [System.Management.Automation.SwitchParameter] # Specify <strong>true</strong> to include deployment slots in results. # The default is false, which only gives you the production slot of all apps. ${IncludeSlot}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='GetViaIdentity')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.Functions.private\Get-AzFunctionApp_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzFunctionApp_GetViaIdentity'; List = 'Az.Functions.private\Get-AzFunctionApp_List'; List1 = 'Az.Functions.private\Get-AzFunctionApp_List1'; } if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Get function information by its ID for web site, or a deployment slot. .Description Description for Get function information by its ID for web site, or a deployment slot. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelope .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/get-azfunction #> function Get-AzFunction { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelope])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Site name. ${FunctionAppName}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Function name. ${FunctionName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.Functions.private\Get-AzFunction_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzFunction_GetViaIdentity'; List = 'Az.Functions.private\Get-AzFunction_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account. .Description Lists the access keys or Kerberos keys (if active directory enabled) for the specified storage account. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountKey .Link https://docs.microsoft.com/powershell/module/az.functions/get-azstorageaccountkey #> function Get-AzStorageAccountKey { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccountKey])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The name of the storage account within the specified resource group. # Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The name of the resource group within the user's subscription. # The name is case insensitive. ${ResourceGroupName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter()] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ListKeyExpand])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Query')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ListKeyExpand] # Specifies type of the key to be listed. # Possible value is kerb. ${Expand}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Az.Functions.private\Get-AzStorageAccountKey_List'; } if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this. .Description Lists all the storage accounts available under the subscription. Note that storage keys are not returned; use the ListKeys operation for this. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccount .Link https://docs.microsoft.com/powershell/module/az.functions/get-azstorageaccount #> function Get-AzStorageAccount { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190401.IStorageAccount])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='List1', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The name of the resource group within the user's subscription. # The name is case insensitive. ${ResourceGroupName}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Az.Functions.private\Get-AzStorageAccount_List'; List1 = 'Az.Functions.private\Get-AzStorageAccount_List1'; } if (('List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Gets the identity. .Description Gets the identity. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/get-azuserassignedidentity #> function Get-AzUserAssignedIdentity { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List1', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The name of the Resource Group to which the identity belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The name of the identity resource. ${ResourceName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Parameter(ParameterSetName='List1')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.Functions.private\Get-AzUserAssignedIdentity_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzUserAssignedIdentity_GetViaIdentity'; List = 'Az.Functions.private\Get-AzUserAssignedIdentity_List'; List1 = 'Az.Functions.private\Get-AzUserAssignedIdentity_List1'; } if (('Get', 'List', 'List1') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Gets the application settings of an app. .Description Description for Gets the application settings of an app. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary .Link https://docs.microsoft.com/powershell/module/az.functions/get-azwebappapplicationsettingslot #> function Get-AzWebAppApplicationSettingSlot { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the deployment slot. # If a slot is not specified, the API will get the application settings for the production slot. ${Slot}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Az.Functions.private\Get-AzWebAppApplicationSettingSlot_List'; } if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Gets the application settings of an app. .Description Description for Gets the application settings of an app. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary .Link https://docs.microsoft.com/powershell/module/az.functions/get-azwebappapplicationsetting #> function Get-AzWebAppApplicationSetting { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Az.Functions.private\Get-AzWebAppApplicationSetting_List'; } if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. .Description Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/get-azwebappconfigurationslot #> function Get-AzWebAppConfigurationSlot { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the deployment slot. # If a slot is not specified, the API will return configuration for the production slot. ${Slot}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.Functions.private\Get-AzWebAppConfigurationSlot_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzWebAppConfigurationSlot_GetViaIdentity'; List = 'Az.Functions.private\Get-AzWebAppConfigurationSlot_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. .Description Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigurationSnapshotInfo .Link https://docs.microsoft.com/powershell/module/az.functions/get-azwebappconfigurationsnapshotinfoslot #> function Get-AzWebAppConfigurationSnapshotInfoSlot { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigurationSnapshotInfo])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the deployment slot. # If a slot is not specified, the API will return configuration for the production slot. ${Slot}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Az.Functions.private\Get-AzWebAppConfigurationSnapshotInfoSlot_List'; } if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. .Description Description for Gets a list of web app configuration snapshots identifiers. Each element of the list contains a timestamp and the ID of the snapshot. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigurationSnapshotInfo .Link https://docs.microsoft.com/powershell/module/az.functions/get-azwebappconfigurationsnapshotinfo #> function Get-AzWebAppConfigurationSnapshotInfo { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigurationSnapshotInfo])] [CmdletBinding(DefaultParameterSetName='List', PositionalBinding=$false)] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ List = 'Az.Functions.private\Get-AzWebAppConfigurationSnapshotInfo_List'; } if (('List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Gets a snapshot of the configuration of an app at a previous point in time. .Description Description for Gets a snapshot of the configuration of an app at a previous point in time. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/get-azwebappconfigurationsnapshotslot #> function Get-AzWebAppConfigurationSnapshotSlot { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the deployment slot. # If a slot is not specified, the API will return configuration for the production slot. ${Slot}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The ID of the snapshot to read. ${SnapshotId}, [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.Functions.private\Get-AzWebAppConfigurationSnapshotSlot_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzWebAppConfigurationSnapshotSlot_GetViaIdentity'; } if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Gets a snapshot of the configuration of an app at a previous point in time. .Description Description for Gets a snapshot of the configuration of an app at a previous point in time. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/get-azwebappconfigurationsnapshot #> function Get-AzWebAppConfigurationSnapshot { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Get', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The ID of the snapshot to read. ${SnapshotId}, [Parameter(ParameterSetName='Get')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.Functions.private\Get-AzWebAppConfigurationSnapshot_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzWebAppConfigurationSnapshot_GetViaIdentity'; } if (('Get') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. .Description Description for Gets the configuration of an app, such as platform version and bitness, default documents, virtual applications, Always On, etc. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/get-azwebappconfiguration #> function Get-AzWebAppConfiguration { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource])] [CmdletBinding(DefaultParameterSetName='Get', PositionalBinding=$false)] param( [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(ParameterSetName='Get', Mandatory)] [Parameter(ParameterSetName='List', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Get')] [Parameter(ParameterSetName='List')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String[]] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='GetViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Get = 'Az.Functions.private\Get-AzWebAppConfiguration_Get'; GetViaIdentity = 'Az.Functions.private\Get-AzWebAppConfiguration_GetViaIdentity'; List = 'Az.Functions.private\Get-AzWebAppConfiguration_List'; } if (('Get', 'List') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Creates (or updates) an Application Insights component. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. .Description Creates (or updates) an Application Insights component. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IApplicationInsightsComponent .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IApplicationInsightsComponent .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. INSIGHTPROPERTY <IApplicationInsightsComponent>: An Application Insights component definition. Location <String>: Resource location Kind <String>: The kind of application that this component refers to, used to customize UI. This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone. [Tag <IComponentsResourceTags>]: Resource tags [(Any) <String>]: This indicates any property can be added to this object. [ApplicationType <ApplicationType?>]: Type of application being monitored. [FlowType <FlowType?>]: Used by the Application Insights system to determine what kind of flow this component was created by. This is to be set to 'Bluefield' when creating/updating a component via the REST API. [HockeyAppId <String>]: The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp. [RequestSource <RequestSource?>]: Describes what tool created this Application Insights component. Customers using this API should set this to the default 'rest'. [SamplingPercentage <Double?>]: Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry. .Link https://docs.microsoft.com/powershell/module/az.functions/new-azappinsights #> function New-AzAppInsights { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IApplicationInsightsComponent])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The name of the resource group. # The name is case insensitive. ${ResourceGroupName}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The name of the Application Insights component resource. ${ResourceName}, [Parameter(ParameterSetName='Create')] [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IApplicationInsightsComponent] # An Application Insights component definition. # To construct, see NOTES section for INSIGHTPROPERTY properties and create a hash table. ${InsightProperty}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # The kind of application that this component refers to, used to customize UI. # This value is a freeform string, values should typically be one of the following: web, ios, other, store, java, phone. ${Kind}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Resource location ${Location}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ApplicationType])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ApplicationType] # Type of application being monitored. ${ApplicationType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FlowType])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FlowType] # Used by the Application Insights system to determine what kind of flow this component was created by. # This is to be set to 'Bluefield' when creating/updating a component via the REST API. ${FlowType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # The unique application ID created when a new application is added to HockeyApp, used for communications with HockeyApp. ${HockeyAppId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RequestSource])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RequestSource] # Describes what tool created this Application Insights component. # Customers using this API should set this to the default 'rest'. ${RequestSource}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Double] # Percentage of the data produced by the application being monitored that is being sampled for Application Insights telemetry. ${SamplingPercentage}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20150501.IComponentsResourceTags]))] [System.Collections.Hashtable] # Resource tags ${Tag}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Az.Functions.private\New-AzAppInsights_Create'; CreateExpanded = 'Az.Functions.private\New-AzAppInsights_CreateExpanded'; CreateViaIdentity = 'Az.Functions.private\New-AzAppInsights_CreateViaIdentity'; CreateViaIdentityExpanded = 'Az.Functions.private\New-AzAppInsights_CreateViaIdentityExpanded'; } if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Creates or updates an App Service Plan. .Description Description for Creates or updates an App Service Plan. .Example PS C:\> New-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName ` -Name MyPremiumPlan ` -Location WestEurope ` -MinimumWorkerCount 1 ` -MaximumWorkerCount 10 ` -Sku EP1 ` -WorkerType Windows .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan .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. APPSERVICEPLAN <IAppServicePlan>: App Service plan. Location <String>: Resource Location. [Kind <String>]: Kind of resource. [Tag <IResourceTags>]: Resource tags. [(Any) <String>]: This indicates any property can be added to this object. [Capacity <Int32?>]: Current number of instances assigned to the resource. [FreeOfferExpirationTime <DateTime?>]: The time when the server farm free offer expires. [HostingEnvironmentProfileId <String>]: Resource ID of the App Service Environment. [HyperV <Boolean?>]: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. [IsSpot <Boolean?>]: If <code>true</code>, this App Service Plan owns spot instances. [IsXenon <Boolean?>]: Obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. [MaximumElasticWorkerCount <Int32?>]: Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan [PerSiteScaling <Boolean?>]: If <code>true</code>, apps assigned to this App Service plan can be scaled independently. If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. [Reserved <Boolean?>]: If Linux app service plan <code>true</code>, <code>false</code> otherwise. [SkuCapability <ICapability[]>]: Capabilities of the SKU, e.g., is traffic manager enabled? [Name <String>]: Name of the SKU capability. [Reason <String>]: Reason of the SKU capability. [Value <String>]: Value of the SKU capability. [SkuCapacityDefault <Int32?>]: Default number of workers for this App Service plan SKU. [SkuCapacityMaximum <Int32?>]: Maximum number of workers for this App Service plan SKU. [SkuCapacityMinimum <Int32?>]: Minimum number of workers for this App Service plan SKU. [SkuCapacityScaleType <String>]: Available scale configurations for an App Service plan. [SkuFamily <String>]: Family code of the resource SKU. [SkuLocation <String[]>]: Locations of the SKU. [SkuName <String>]: Name of the resource SKU. [SkuSize <String>]: Size specifier of the resource SKU. [SkuTier <String>]: Service tier of the resource SKU. [SpotExpirationTime <DateTime?>]: The time when the server farm expires. Valid only if it is a spot server farm. [TargetWorkerCount <Int32?>]: Scaling worker count. [TargetWorkerSizeId <Int32?>]: Scaling worker size ID. [WorkerTierName <String>]: Target worker tier assigned to the App Service plan. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. SKUCAPABILITY <ICapability[]>: Capabilities of the SKU, e.g., is traffic manager enabled [Name <String>]: Name of the SKU capability. [Reason <String>]: Reason of the SKU capability. [Value <String>]: Value of the SKU capability. .Link https://docs.microsoft.com/powershell/module/az.functions/new-azfunctionappplan #> function New-AzFunctionAppPlan { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the App Service plan. ${Name}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Create')] [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan] # App Service plan. # To construct, see NOTES section for APPSERVICEPLAN properties and create a hash table. ${AppServicePlan}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Resource Location. ${Location}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Current number of instances assigned to the resource. ${Capacity}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.DateTime] # The time when the server farm free offer expires. ${FreeOfferExpirationTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Resource ID of the App Service Environment. ${HostingEnvironmentProfileId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. ${HyperV}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # If <code>true</code>, this App Service Plan owns spot instances. ${IsSpot}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. ${IsXenon}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${Kind}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan ${MaximumElasticWorkerCount}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # If <code>true</code>, apps assigned to this App Service plan can be scaled independently.If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. ${PerSiteScaling}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # If Linux app service plan <code>true</code>, <code>false</code> otherwise. ${Reserved}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICapability[]] # Capabilities of the SKU, e.g., is traffic manager enabled # To construct, see NOTES section for SKUCAPABILITY properties and create a hash table. ${SkuCapability}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.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.Functions.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.Functions.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.Functions.Category('Body')] [System.String] # Available scale configurations for an App Service plan. ${SkuCapacityScaleType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Family code of the resource SKU. ${SkuFamily}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String[]] # Locations of the SKU. ${SkuLocation}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Name of the resource SKU. ${SkuName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Size specifier of the resource SKU. ${SkuSize}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Service tier of the resource SKU. ${SkuTier}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.DateTime] # The time when the server farm expires. # Valid only if it is a spot server farm. ${SpotExpirationTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Scaling worker count. ${TargetWorkerCount}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Scaling worker size ID. ${TargetWorkerSizeId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Target worker tier assigned to the App Service plan. ${WorkerTierName}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Az.Functions.private\New-AzFunctionAppPlan_Create'; CreateExpanded = 'Az.Functions.private\New-AzFunctionAppPlan_CreateExpanded'; CreateViaIdentity = 'Az.Functions.private\New-AzFunctionAppPlan_CreateViaIdentity'; CreateViaIdentityExpanded = 'Az.Functions.private\New-AzFunctionAppPlan_CreateViaIdentityExpanded'; } if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. .Description Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. .Example PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -Location centralUS ` -StorageAccount MyStorageAccountName ` -Runtime PowerShell .Example PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -PlanName MyPlanName ` -StorageAccount MyStorageAccountName ` -Runtime PowerShell .Example PS C:\> New-AzFunctionApp -Name MyUniqueFunctionAppName ` -ResourceGroupName MyResourceGroupName ` -PlanName MyPlanName ` -StorageAccount MyStorageAccountName ` -DockerImageName myacr.azurecr.io/myimage:tag .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite .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. HOSTNAMESSLSTATE <IHostNameSslState[]>: Hostname SSL states are used to manage the SSL bindings for app's hostnames. [HostType <HostType?>]: Indicates whether the hostname is a standard or repository hostname. [Name <String>]: Hostname. [SslState <SslState?>]: SSL type. [Thumbprint <String>]: SSL certificate thumbprint. [ToUpdate <Boolean?>]: Set to <code>true</code> to update existing hostname. [VirtualIP <String>]: Virtual IP address assigned to the hostname if IP based SSL is enabled. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. SITECONFIG <ISiteConfig>: Configuration of the app. [ActionMinProcessExecutionTime <String>]: Minimum time the process must execute before taking the action [ActionType <AutoHealActionType?>]: Predefined action to be taken. [AlwaysOn <Boolean?>]: <code>true</code> if Always On is enabled; otherwise, <code>false</code>. [ApiDefinitionUrl <String>]: The URL of the API definition. [ApiManagementConfigId <String>]: APIM-Api Identifier. [AppCommandLine <String>]: App command line to launch. [AppSetting <INameValuePair[]>]: Application settings. [Name <String>]: Pair name. [Value <String>]: Pair value. [AutoHealEnabled <Boolean?>]: <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. [AutoSwapSlotName <String>]: Auto-swap slot name. [ConnectionString <IConnStringInfo[]>]: Connection strings. [ConnectionString <String>]: Connection string value. [Name <String>]: Name of connection string. [Type <ConnectionStringType?>]: Type of database. [CorAllowedOrigin <String[]>]: Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. [CorSupportCredentials <Boolean?>]: Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials for more details. [CustomActionExe <String>]: Executable to be run. [CustomActionParameter <String>]: Parameters for the executable. [DefaultDocument <String[]>]: Default documents. [DetailedErrorLoggingEnabled <Boolean?>]: <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. [DocumentRoot <String>]: Document root. [DynamicTagsJson <String>]: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. [ExperimentRampUpRule <IRampUpRule[]>]: List of ramp-up rules. [ActionHostName <String>]: Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. [ChangeDecisionCallbackUrl <String>]: Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/ [ChangeIntervalInMinute <Int32?>]: Specifies interval in minutes to reevaluate ReroutePercentage. [ChangeStep <Double?>]: In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches \n<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. [MaxReroutePercentage <Double?>]: Specifies upper boundary below which ReroutePercentage will stay. [MinReroutePercentage <Double?>]: Specifies lower boundary above which ReroutePercentage will stay. [Name <String>]: Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. [ReroutePercentage <Double?>]: Percentage of the traffic which will be redirected to <code>ActionHostName</code>. [FtpsState <FtpsState?>]: State of FTP / FTPS service [HandlerMapping <IHandlerMapping[]>]: Handler mappings. [Argument <String>]: Command-line arguments to be passed to the script processor. [Extension <String>]: Requests with this extension will be handled using the specified FastCGI application. [ScriptProcessor <String>]: The absolute path to the FastCGI application. [HealthCheckPath <String>]: Health check path [Http20Enabled <Boolean?>]: Http20Enabled: configures a web site to allow clients to connect over http2.0 [HttpLoggingEnabled <Boolean?>]: <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. [IPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for main. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag [IsPushEnabled <Boolean?>]: Gets or sets a flag indicating whether the Push endpoint is enabled. [JavaContainer <String>]: Java container. [JavaContainerVersion <String>]: Java container version. [JavaVersion <String>]: Java version. [LimitMaxDiskSizeInMb <Int64?>]: Maximum allowed disk size usage in MB. [LimitMaxMemoryInMb <Int64?>]: Maximum allowed memory usage in MB. [LimitMaxPercentageCpu <Double?>]: Maximum allowed CPU usage percentage. [LinuxFxVersion <String>]: Linux App Framework and version [LoadBalancing <SiteLoadBalancing?>]: Site load balancing. [LocalMySqlEnabled <Boolean?>]: <code>true</code> to enable local MySQL; otherwise, <code>false</code>. [LogsDirectorySizeLimit <Int32?>]: HTTP logs directory size limit. [MachineKeyDecryption <String>]: Algorithm used for decryption. [MachineKeyDecryptionKey <String>]: Decryption key. [MachineKeyValidation <String>]: MachineKey validation. [MachineKeyValidationKey <String>]: Validation key. [ManagedPipelineMode <ManagedPipelineMode?>]: Managed pipeline mode. [ManagedServiceIdentityId <Int32?>]: Managed Service Identity Id [MinTlsVersion <SupportedTlsVersions?>]: MinTlsVersion: configures the minimum version of TLS required for SSL requests [NetFrameworkVersion <String>]: .NET Framework version. [NodeVersion <String>]: Version of Node.js. [NumberOfWorker <Int32?>]: Number of workers. [PhpVersion <String>]: Version of PHP. [PowerShellVersion <String>]: Version of PowerShell. [PreWarmedInstanceCount <Int32?>]: Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans [PublishingUsername <String>]: Publishing user name. [PushKind <String>]: Kind of resource. [PythonVersion <String>]: Version of Python. [RemoteDebuggingEnabled <Boolean?>]: <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. [RemoteDebuggingVersion <String>]: Remote debugging version. [RequestCount <Int32?>]: Request Count. [RequestTimeInterval <String>]: Time interval. [RequestTracingEnabled <Boolean?>]: <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. [RequestTracingExpirationTime <DateTime?>]: Request tracing expiration time. [ScmIPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for scm. [ScmIPSecurityRestrictionsUseMain <Boolean?>]: IP security restrictions for scm to use main. [ScmType <ScmType?>]: SCM type. [SlowRequestCount <Int32?>]: Request Count. [SlowRequestTimeInterval <String>]: Time interval. [SlowRequestTimeTaken <String>]: Time taken. [TagWhitelistJson <String>]: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. [TagsRequiringAuth <String>]: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler. [TracingOption <String>]: Tracing options. [TriggerPrivateBytesInKb <Int32?>]: A rule based on private bytes. [TriggerStatusCode <IStatusCodesBasedTrigger[]>]: A rule based on status codes. [Count <Int32?>]: Request Count. [Status <Int32?>]: HTTP status code. [SubStatus <Int32?>]: Request Sub Status. [TimeInterval <String>]: Time interval. [Win32Status <Int32?>]: Win32 error code. [Use32BitWorkerProcess <Boolean?>]: <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. [VirtualApplication <IVirtualApplication[]>]: Virtual applications. [PhysicalPath <String>]: Physical path. [PreloadEnabled <Boolean?>]: <code>true</code> if preloading is enabled; otherwise, <code>false</code>. [VirtualDirectory <IVirtualDirectory[]>]: Virtual directories for virtual application. [PhysicalPath <String>]: Physical path. [VirtualPath <String>]: Path to virtual application. [VirtualPath <String>]: Virtual path. [VnetName <String>]: Virtual Network name. [WebSocketsEnabled <Boolean?>]: <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. [WindowsFxVersion <String>]: Xenon App Framework and version [XManagedServiceIdentityId <Int32?>]: Explicit Managed Service Identity Id SITEENVELOPE <ISite>: A web app, a mobile app backend, or an API app. Location <String>: Resource Location. [Kind <String>]: Kind of resource. [Tag <IResourceTags>]: Resource tags. [(Any) <String>]: This indicates any property can be added to this object. [ClientAffinityEnabled <Boolean?>]: <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>. [ClientCertEnabled <Boolean?>]: <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>. [ClientCertExclusionPath <String>]: client certificate authentication comma-separated exclusion paths [CloningInfoAppSettingsOverride <ICloningInfoAppSettingsOverrides>]: Application setting overrides for cloned app. If specified, these settings override the settings cloned from source app. Otherwise, application settings from source app are retained. [(Any) <String>]: This indicates any property can be added to this object. [CloningInfoCloneCustomHostName <Boolean?>]: <code>true</code> to clone custom hostnames from source app; otherwise, <code>false</code>. [CloningInfoCloneSourceControl <Boolean?>]: <code>true</code> to clone source control from source app; otherwise, <code>false</code>. [CloningInfoConfigureLoadBalancing <Boolean?>]: <code>true</code> to configure load balancing for source and destination app. [CloningInfoCorrelationId <String>]: Correlation ID of cloning operation. This ID ties multiple cloning operations together to use the same snapshot. [CloningInfoHostingEnvironment <String>]: App Service Environment. [CloningInfoOverwrite <Boolean?>]: <code>true</code> to overwrite destination app; otherwise, <code>false</code>. [CloningInfoSourceWebAppId <String>]: ARM resource ID of the source app. App resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. [CloningInfoSourceWebAppLocation <String>]: Location of source app ex: West US or North Europe [CloningInfoTrafficManagerProfileId <String>]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName <String>]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config <ISiteConfig>]: Configuration of the app. [ActionMinProcessExecutionTime <String>]: Minimum time the process must execute before taking the action [ActionType <AutoHealActionType?>]: Predefined action to be taken. [AlwaysOn <Boolean?>]: <code>true</code> if Always On is enabled; otherwise, <code>false</code>. [ApiDefinitionUrl <String>]: The URL of the API definition. [ApiManagementConfigId <String>]: APIM-Api Identifier. [AppCommandLine <String>]: App command line to launch. [AppSetting <INameValuePair[]>]: Application settings. [Name <String>]: Pair name. [Value <String>]: Pair value. [AutoHealEnabled <Boolean?>]: <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. [AutoSwapSlotName <String>]: Auto-swap slot name. [ConnectionString <IConnStringInfo[]>]: Connection strings. [ConnectionString <String>]: Connection string value. [Name <String>]: Name of connection string. [Type <ConnectionStringType?>]: Type of database. [CorAllowedOrigin <String[]>]: Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. [CorSupportCredentials <Boolean?>]: Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials for more details. [CustomActionExe <String>]: Executable to be run. [CustomActionParameter <String>]: Parameters for the executable. [DefaultDocument <String[]>]: Default documents. [DetailedErrorLoggingEnabled <Boolean?>]: <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. [DocumentRoot <String>]: Document root. [DynamicTagsJson <String>]: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. [ExperimentRampUpRule <IRampUpRule[]>]: List of ramp-up rules. [ActionHostName <String>]: Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. [ChangeDecisionCallbackUrl <String>]: Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/ [ChangeIntervalInMinute <Int32?>]: Specifies interval in minutes to reevaluate ReroutePercentage. [ChangeStep <Double?>]: In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches \n<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. [MaxReroutePercentage <Double?>]: Specifies upper boundary below which ReroutePercentage will stay. [MinReroutePercentage <Double?>]: Specifies lower boundary above which ReroutePercentage will stay. [Name <String>]: Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. [ReroutePercentage <Double?>]: Percentage of the traffic which will be redirected to <code>ActionHostName</code>. [FtpsState <FtpsState?>]: State of FTP / FTPS service [HandlerMapping <IHandlerMapping[]>]: Handler mappings. [Argument <String>]: Command-line arguments to be passed to the script processor. [Extension <String>]: Requests with this extension will be handled using the specified FastCGI application. [ScriptProcessor <String>]: The absolute path to the FastCGI application. [HealthCheckPath <String>]: Health check path [Http20Enabled <Boolean?>]: Http20Enabled: configures a web site to allow clients to connect over http2.0 [HttpLoggingEnabled <Boolean?>]: <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. [IPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for main. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag [IsPushEnabled <Boolean?>]: Gets or sets a flag indicating whether the Push endpoint is enabled. [JavaContainer <String>]: Java container. [JavaContainerVersion <String>]: Java container version. [JavaVersion <String>]: Java version. [LimitMaxDiskSizeInMb <Int64?>]: Maximum allowed disk size usage in MB. [LimitMaxMemoryInMb <Int64?>]: Maximum allowed memory usage in MB. [LimitMaxPercentageCpu <Double?>]: Maximum allowed CPU usage percentage. [LinuxFxVersion <String>]: Linux App Framework and version [LoadBalancing <SiteLoadBalancing?>]: Site load balancing. [LocalMySqlEnabled <Boolean?>]: <code>true</code> to enable local MySQL; otherwise, <code>false</code>. [LogsDirectorySizeLimit <Int32?>]: HTTP logs directory size limit. [MachineKeyDecryption <String>]: Algorithm used for decryption. [MachineKeyDecryptionKey <String>]: Decryption key. [MachineKeyValidation <String>]: MachineKey validation. [MachineKeyValidationKey <String>]: Validation key. [ManagedPipelineMode <ManagedPipelineMode?>]: Managed pipeline mode. [ManagedServiceIdentityId <Int32?>]: Managed Service Identity Id [MinTlsVersion <SupportedTlsVersions?>]: MinTlsVersion: configures the minimum version of TLS required for SSL requests [NetFrameworkVersion <String>]: .NET Framework version. [NodeVersion <String>]: Version of Node.js. [NumberOfWorker <Int32?>]: Number of workers. [PhpVersion <String>]: Version of PHP. [PowerShellVersion <String>]: Version of PowerShell. [PreWarmedInstanceCount <Int32?>]: Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans [PublishingUsername <String>]: Publishing user name. [PushKind <String>]: Kind of resource. [PythonVersion <String>]: Version of Python. [RemoteDebuggingEnabled <Boolean?>]: <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. [RemoteDebuggingVersion <String>]: Remote debugging version. [RequestCount <Int32?>]: Request Count. [RequestTimeInterval <String>]: Time interval. [RequestTracingEnabled <Boolean?>]: <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. [RequestTracingExpirationTime <DateTime?>]: Request tracing expiration time. [ScmIPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for scm. [ScmIPSecurityRestrictionsUseMain <Boolean?>]: IP security restrictions for scm to use main. [ScmType <ScmType?>]: SCM type. [SlowRequestCount <Int32?>]: Request Count. [SlowRequestTimeInterval <String>]: Time interval. [SlowRequestTimeTaken <String>]: Time taken. [TagWhitelistJson <String>]: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. [TagsRequiringAuth <String>]: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler. [TracingOption <String>]: Tracing options. [TriggerPrivateBytesInKb <Int32?>]: A rule based on private bytes. [TriggerStatusCode <IStatusCodesBasedTrigger[]>]: A rule based on status codes. [Count <Int32?>]: Request Count. [Status <Int32?>]: HTTP status code. [SubStatus <Int32?>]: Request Sub Status. [TimeInterval <String>]: Time interval. [Win32Status <Int32?>]: Win32 error code. [Use32BitWorkerProcess <Boolean?>]: <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. [VirtualApplication <IVirtualApplication[]>]: Virtual applications. [PhysicalPath <String>]: Physical path. [PreloadEnabled <Boolean?>]: <code>true</code> if preloading is enabled; otherwise, <code>false</code>. [VirtualDirectory <IVirtualDirectory[]>]: Virtual directories for virtual application. [PhysicalPath <String>]: Physical path. [VirtualPath <String>]: Path to virtual application. [VirtualPath <String>]: Virtual path. [VnetName <String>]: Virtual Network name. [WebSocketsEnabled <Boolean?>]: <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. [WindowsFxVersion <String>]: Xenon App Framework and version [XManagedServiceIdentityId <Int32?>]: Explicit Managed Service Identity Id [ContainerSize <Int32?>]: Size of the function container. [DailyMemoryTimeQuota <Int32?>]: Maximum allowed daily memory-time quota (applicable on dynamic apps only). [Enabled <Boolean?>]: <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline). [HostNameSslState <IHostNameSslState[]>]: Hostname SSL states are used to manage the SSL bindings for app's hostnames. [HostType <HostType?>]: Indicates whether the hostname is a standard or repository hostname. [Name <String>]: Hostname. [SslState <SslState?>]: SSL type. [Thumbprint <String>]: SSL certificate thumbprint. [ToUpdate <Boolean?>]: Set to <code>true</code> to update existing hostname. [VirtualIP <String>]: Virtual IP address assigned to the hostname if IP based SSL is enabled. [HostNamesDisabled <Boolean?>]: <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. If <code>true</code>, the app is only accessible via API management process. [HostingEnvironmentProfileId <String>]: Resource ID of the App Service Environment. [HttpsOnly <Boolean?>]: HttpsOnly: configures a web site to accept only https requests. Issues redirect for http requests [HyperV <Boolean?>]: Hyper-V sandbox. [IdentityType <ManagedServiceIdentityType?>]: Type of managed service identity. [IdentityUserAssignedIdentity <IManagedServiceIdentityUserAssignedIdentities>]: 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} [(Any) <IComponents1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties>]: This indicates any property can be added to this object. [IsXenon <Boolean?>]: Obsolete: Hyper-V sandbox. [RedundancyMode <RedundancyMode?>]: Site redundancy mode [Reserved <Boolean?>]: <code>true</code> if reserved; otherwise, <code>false</code>. [ScmSiteAlsoStopped <Boolean?>]: <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>. [ServerFarmId <String>]: Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". .Link https://docs.microsoft.com/powershell/module/az.functions/new-azfunctionapp #> function New-AzFunctionApp { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Unique name of the app to create or update. # To create or update a deployment slot, use the {slot} parameter. ${Name}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Create')] [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite] # A web app, a mobile app backend, or an API app. # To construct, see NOTES section for SITEENVELOPE properties and create a hash table. ${SiteEnvelope}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Resource Location. ${Location}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. # Default is <code>true</code>. ${ClientAffinityEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. # Default is <code>false</code>. ${ClientCertEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # client certificate authentication comma-separated exclusion paths ${ClientCertExclusionPath}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICloningInfoAppSettingsOverrides]))] [System.Collections.Hashtable] # Application setting overrides for cloned app. # If specified, these settings override the settings cloned from source app. # Otherwise, application settings from source app are retained. ${CloningInfoAppSettingsOverride}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to clone custom hostnames from source app; otherwise, <code>false</code>. ${CloningInfoCloneCustomHostName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to clone source control from source app; otherwise, <code>false</code>. ${CloningInfoCloneSourceControl}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to configure load balancing for source and destination app. ${CloningInfoConfigureLoadBalancing}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Correlation ID of cloning operation. # This ID ties multiple cloning operationstogether to use the same snapshot. ${CloningInfoCorrelationId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # App Service Environment. ${CloningInfoHostingEnvironment}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to overwrite destination app; otherwise, <code>false</code>. ${CloningInfoOverwrite}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # ARM resource ID of the source app. # App resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. ${CloningInfoSourceWebAppId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Location of source app ex: West US or North Europe ${CloningInfoSourceWebAppLocation}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # ARM resource ID of the Traffic Manager profile to use, if it exists. # Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. ${CloningInfoTrafficManagerProfileId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Name of Traffic Manager profile to create. # This is only needed if Traffic Manager profile does not already exist. ${CloningInfoTrafficManagerProfileName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Size of the function container. ${ContainerSize}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Maximum allowed daily memory-time quota (applicable on dynamic apps only). ${DailyMemoryTimeQuota}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if the app is enabled; otherwise, <code>false</code>. # Setting this value to false disables the app (takes the app offline). ${Enabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHostNameSslState[]] # Hostname SSL states are used to manage the SSL bindings for app's hostnames. # To construct, see NOTES section for HOSTNAMESSLSTATE properties and create a hash table. ${HostNameSslState}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. # If <code>true</code>, the app is only accessible via API management process. ${HostNamesDisabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Resource ID of the App Service Environment. ${HostingEnvironmentProfileId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # HttpsOnly: configures a web site to accept only https requests. # Issues redirect forhttp requests ${HttpsOnly}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Hyper-V sandbox. ${HyperV}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType] # Type of managed service identity. ${IdentityType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.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}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Obsolete: Hyper-V sandbox. ${IsXenon}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${Kind}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode] # Site redundancy mode ${RedundancyMode}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if reserved; otherwise, <code>false</code>. ${Reserved}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. # The default is <code>false</code>. ${ScmSiteAlsoStopped}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". ${ServerFarmId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig] # Configuration of the app. # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Az.Functions.private\New-AzFunctionApp_Create'; CreateExpanded = 'Az.Functions.private\New-AzFunctionApp_CreateExpanded'; CreateViaIdentity = 'Az.Functions.private\New-AzFunctionApp_CreateViaIdentity'; CreateViaIdentityExpanded = 'Az.Functions.private\New-AzFunctionApp_CreateViaIdentityExpanded'; } if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Create function for web site, or a deployment slot. .Description Description for Create function for web site, or a deployment slot. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelope .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs System.Boolean .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. FUNCTIONENVELOPE <IFunctionEnvelope>: Function information. [Kind <String>]: Kind of resource. [Config <IAny>]: Config information. [ConfigHref <String>]: Config URI. [File <IFunctionEnvelopePropertiesFiles>]: File list. [(Any) <String>]: This indicates any property can be added to this object. [FunctionAppId <String>]: Function App ID. [Href <String>]: Function URI. [InvokeUrlTemplate <String>]: The invocation URL [IsDisabled <Boolean?>]: Gets or sets a value indicating whether the function is disabled [Language <String>]: The function language [ScriptHref <String>]: Script URI. [ScriptRootPathHref <String>]: Script root path URI. [SecretsFileHref <String>]: Secrets file URI. [TestData <String>]: Test data used when testing via the Azure Portal. [TestDataHref <String>]: Test data URI. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/new-azfunction #> function New-AzFunction { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Site name. ${FunctionAppName}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Function name. ${FunctionName}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Create')] [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelope] # Function information. # To construct, see NOTES section for FUNCTIONENVELOPE properties and create a hash table. ${FunctionEnvelope}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IAny] # Config information. ${Config}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Config URI. ${ConfigHref}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IFunctionEnvelopePropertiesFiles]))] [System.Collections.Hashtable] # File list. ${File}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Function App ID. ${FunctionAppId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Function URI. ${Href}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # The invocation URL ${InvokeUrlTemplate}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a value indicating whether the function is disabled ${IsDisabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${Kind}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # The function language ${Language}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Script URI. ${ScriptHref}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Script root path URI. ${ScriptRootPathHref}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Secrets file URI. ${SecretsFileHref}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Test data used when testing via the Azure Portal. ${TestData}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Test data URI. ${TestDataHref}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Az.Functions.private\New-AzFunction_Create'; CreateExpanded = 'Az.Functions.private\New-AzFunction_CreateExpanded'; CreateViaIdentity = 'Az.Functions.private\New-AzFunction_CreateViaIdentity'; CreateViaIdentityExpanded = 'Az.Functions.private\New-AzFunction_CreateViaIdentityExpanded'; } if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create or update an identity in the specified subscription and resource group. .Description Create or update an identity in the specified subscription and resource group. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. PARAMETER <IIdentityAutoGenerated>: Describes an identity resource. Location <String>: The geo-location where the resource lives [Tag <ITrackedResourceTags>]: Resource tags. [(Any) <String>]: This indicates any property can be added to this object. .Link https://docs.microsoft.com/powershell/module/az.functions/new-azuserassignedidentity #> function New-AzUserAssignedIdentity { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The name of the Resource Group to which the identity belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The name of the identity resource. ${ResourceName}, [Parameter(ParameterSetName='Create')] [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated] # Describes an identity resource. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # The geo-location where the resource lives ${Location}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITrackedResourceTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Az.Functions.private\New-AzUserAssignedIdentity_Create'; CreateExpanded = 'Az.Functions.private\New-AzUserAssignedIdentity_CreateExpanded'; CreateViaIdentity = 'Az.Functions.private\New-AzUserAssignedIdentity_CreateViaIdentity'; CreateViaIdentityExpanded = 'Az.Functions.private\New-AzUserAssignedIdentity_CreateViaIdentityExpanded'; } if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Updates the configuration of an app. .Description Description for Updates the configuration of an app. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource .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. APPSETTING <INameValuePair[]>: Application settings. [Name <String>]: Pair name. [Value <String>]: Pair value. CONNECTIONSTRING <IConnStringInfo[]>: Connection strings. [ConnectionString <String>]: Connection string value. [Name <String>]: Name of connection string. [Type <ConnectionStringType?>]: Type of database. EXPERIMENTRAMPUPRULE <IRampUpRule[]>: List of ramp-up rules. [ActionHostName <String>]: Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. [ChangeDecisionCallbackUrl <String>]: Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/ [ChangeIntervalInMinute <Int32?>]: Specifies interval in minutes to reevaluate ReroutePercentage. [ChangeStep <Double?>]: In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches \n<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. [MaxReroutePercentage <Double?>]: Specifies upper boundary below which ReroutePercentage will stay. [MinReroutePercentage <Double?>]: Specifies lower boundary above which ReroutePercentage will stay. [Name <String>]: Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. [ReroutePercentage <Double?>]: Percentage of the traffic which will be redirected to <code>ActionHostName</code>. HANDLERMAPPING <IHandlerMapping[]>: Handler mappings. [Argument <String>]: Command-line arguments to be passed to the script processor. [Extension <String>]: Requests with this extension will be handled using the specified FastCGI application. [ScriptProcessor <String>]: The absolute path to the FastCGI application. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. IPSECURITYRESTRICTION <IIPSecurityRestriction[]>: IP security restrictions for main. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag SCMIPSECURITYRESTRICTION <IIPSecurityRestriction[]>: IP security restrictions for scm. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag SITECONFIG <ISiteConfigResource>: Web app configuration ARM resource. [Kind <String>]: Kind of resource. [ActionMinProcessExecutionTime <String>]: Minimum time the process must execute before taking the action [ActionType <AutoHealActionType?>]: Predefined action to be taken. [AlwaysOn <Boolean?>]: <code>true</code> if Always On is enabled; otherwise, <code>false</code>. [ApiDefinitionUrl <String>]: The URL of the API definition. [ApiManagementConfigId <String>]: APIM-Api Identifier. [AppCommandLine <String>]: App command line to launch. [AppSetting <INameValuePair[]>]: Application settings. [Name <String>]: Pair name. [Value <String>]: Pair value. [AutoHealEnabled <Boolean?>]: <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. [AutoSwapSlotName <String>]: Auto-swap slot name. [ConnectionString <IConnStringInfo[]>]: Connection strings. [ConnectionString <String>]: Connection string value. [Name <String>]: Name of connection string. [Type <ConnectionStringType?>]: Type of database. [CorAllowedOrigin <String[]>]: Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. [CorSupportCredentials <Boolean?>]: Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials for more details. [CustomActionExe <String>]: Executable to be run. [CustomActionParameter <String>]: Parameters for the executable. [DefaultDocument <String[]>]: Default documents. [DetailedErrorLoggingEnabled <Boolean?>]: <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. [DocumentRoot <String>]: Document root. [DynamicTagsJson <String>]: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. [ExperimentRampUpRule <IRampUpRule[]>]: List of ramp-up rules. [ActionHostName <String>]: Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. [ChangeDecisionCallbackUrl <String>]: Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/ [ChangeIntervalInMinute <Int32?>]: Specifies interval in minutes to reevaluate ReroutePercentage. [ChangeStep <Double?>]: In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches \n<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. [MaxReroutePercentage <Double?>]: Specifies upper boundary below which ReroutePercentage will stay. [MinReroutePercentage <Double?>]: Specifies lower boundary above which ReroutePercentage will stay. [Name <String>]: Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. [ReroutePercentage <Double?>]: Percentage of the traffic which will be redirected to <code>ActionHostName</code>. [FtpsState <FtpsState?>]: State of FTP / FTPS service [HandlerMapping <IHandlerMapping[]>]: Handler mappings. [Argument <String>]: Command-line arguments to be passed to the script processor. [Extension <String>]: Requests with this extension will be handled using the specified FastCGI application. [ScriptProcessor <String>]: The absolute path to the FastCGI application. [HealthCheckPath <String>]: Health check path [Http20Enabled <Boolean?>]: Http20Enabled: configures a web site to allow clients to connect over http2.0 [HttpLoggingEnabled <Boolean?>]: <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. [IPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for main. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag [IsPushEnabled <Boolean?>]: Gets or sets a flag indicating whether the Push endpoint is enabled. [JavaContainer <String>]: Java container. [JavaContainerVersion <String>]: Java container version. [JavaVersion <String>]: Java version. [LimitMaxDiskSizeInMb <Int64?>]: Maximum allowed disk size usage in MB. [LimitMaxMemoryInMb <Int64?>]: Maximum allowed memory usage in MB. [LimitMaxPercentageCpu <Double?>]: Maximum allowed CPU usage percentage. [LinuxFxVersion <String>]: Linux App Framework and version [LoadBalancing <SiteLoadBalancing?>]: Site load balancing. [LocalMySqlEnabled <Boolean?>]: <code>true</code> to enable local MySQL; otherwise, <code>false</code>. [LogsDirectorySizeLimit <Int32?>]: HTTP logs directory size limit. [MachineKeyDecryption <String>]: Algorithm used for decryption. [MachineKeyDecryptionKey <String>]: Decryption key. [MachineKeyValidation <String>]: MachineKey validation. [MachineKeyValidationKey <String>]: Validation key. [ManagedPipelineMode <ManagedPipelineMode?>]: Managed pipeline mode. [ManagedServiceIdentityId <Int32?>]: Managed Service Identity Id [MinTlsVersion <SupportedTlsVersions?>]: MinTlsVersion: configures the minimum version of TLS required for SSL requests [NetFrameworkVersion <String>]: .NET Framework version. [NodeVersion <String>]: Version of Node.js. [NumberOfWorker <Int32?>]: Number of workers. [PhpVersion <String>]: Version of PHP. [PowerShellVersion <String>]: Version of PowerShell. [PreWarmedInstanceCount <Int32?>]: Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans [PublishingUsername <String>]: Publishing user name. [PushKind <String>]: Kind of resource. [PythonVersion <String>]: Version of Python. [RemoteDebuggingEnabled <Boolean?>]: <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. [RemoteDebuggingVersion <String>]: Remote debugging version. [RequestCount <Int32?>]: Request Count. [RequestTimeInterval <String>]: Time interval. [RequestTracingEnabled <Boolean?>]: <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. [RequestTracingExpirationTime <DateTime?>]: Request tracing expiration time. [ScmIPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for scm. [ScmIPSecurityRestrictionsUseMain <Boolean?>]: IP security restrictions for scm to use main. [ScmType <ScmType?>]: SCM type. [SlowRequestCount <Int32?>]: Request Count. [SlowRequestTimeInterval <String>]: Time interval. [SlowRequestTimeTaken <String>]: Time taken. [TagWhitelistJson <String>]: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. [TagsRequiringAuth <String>]: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler. [TracingOption <String>]: Tracing options. [TriggerPrivateBytesInKb <Int32?>]: A rule based on private bytes. [TriggerStatusCode <IStatusCodesBasedTrigger[]>]: A rule based on status codes. [Count <Int32?>]: Request Count. [Status <Int32?>]: HTTP status code. [SubStatus <Int32?>]: Request Sub Status. [TimeInterval <String>]: Time interval. [Win32Status <Int32?>]: Win32 error code. [Use32BitWorkerProcess <Boolean?>]: <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. [VirtualApplication <IVirtualApplication[]>]: Virtual applications. [PhysicalPath <String>]: Physical path. [PreloadEnabled <Boolean?>]: <code>true</code> if preloading is enabled; otherwise, <code>false</code>. [VirtualDirectory <IVirtualDirectory[]>]: Virtual directories for virtual application. [PhysicalPath <String>]: Physical path. [VirtualPath <String>]: Path to virtual application. [VirtualPath <String>]: Virtual path. [VnetName <String>]: Virtual Network name. [WebSocketsEnabled <Boolean?>]: <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. [WindowsFxVersion <String>]: Xenon App Framework and version [XManagedServiceIdentityId <Int32?>]: Explicit Managed Service Identity Id TRIGGERSTATUSCODE <IStatusCodesBasedTrigger[]>: A rule based on status codes. [Count <Int32?>]: Request Count. [Status <Int32?>]: HTTP status code. [SubStatus <Int32?>]: Request Sub Status. [TimeInterval <String>]: Time interval. [Win32Status <Int32?>]: Win32 error code. VIRTUALAPPLICATION <IVirtualApplication[]>: Virtual applications. [PhysicalPath <String>]: Physical path. [PreloadEnabled <Boolean?>]: <code>true</code> if preloading is enabled; otherwise, <code>false</code>. [VirtualDirectory <IVirtualDirectory[]>]: Virtual directories for virtual application. [PhysicalPath <String>]: Physical path. [VirtualPath <String>]: Path to virtual application. [VirtualPath <String>]: Virtual path. .Link https://docs.microsoft.com/powershell/module/az.functions/new-azwebappconfigurationslot #> function New-AzWebAppConfigurationSlot { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the deployment slot. # If a slot is not specified, the API will update configuration for the production slot. ${Slot}, [Parameter(ParameterSetName='Create')] [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource] # Web app configuration ARM resource. # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Minimum time the process must executebefore taking the action ${ActionMinProcessExecutionTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType] # Predefined action to be taken. ${ActionType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if Always On is enabled; otherwise, <code>false</code>. ${AlwaysOn}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # The URL of the API definition. ${ApiDefinitionUrl}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # APIM-Api Identifier. ${ApiManagementConfigId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # App command line to launch. ${AppCommandLine}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[]] # Application settings. # To construct, see NOTES section for APPSETTING properties and create a hash table. ${AppSetting}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. ${AutoHealEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Auto-swap slot name. ${AutoSwapSlotName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[]] # Connection strings. # To construct, see NOTES section for CONNECTIONSTRING properties and create a hash table. ${ConnectionString}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String[]] # Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). # Use "*" to allow all. ${CorAllowedOrigin}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets whether CORS requests with credentials are allowed. # See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor more details. ${CorSupportCredentials}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Executable to be run. ${CustomActionExe}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Parameters for the executable. ${CustomActionParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String[]] # Default documents. ${DefaultDocument}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. ${DetailedErrorLoggingEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Document root. ${DocumentRoot}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. ${DynamicTagsJson}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[]] # List of ramp-up rules. # To construct, see NOTES section for EXPERIMENTRAMPUPRULE properties and create a hash table. ${ExperimentRampUpRule}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState] # State of FTP / FTPS service ${FtpsState}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[]] # Handler mappings. # To construct, see NOTES section for HANDLERMAPPING properties and create a hash table. ${HandlerMapping}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Health check path ${HealthCheckPath}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Http20Enabled: configures a web site to allow clients to connect over http2.0 ${Http20Enabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. ${HttpLoggingEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[]] # IP security restrictions for main. # To construct, see NOTES section for IPSECURITYRESTRICTION properties and create a hash table. ${IPSecurityRestriction}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a flag indicating whether the Push endpoint is enabled. ${IsPushEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Java container. ${JavaContainer}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Java container version. ${JavaContainerVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Java version. ${JavaVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${Kind}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int64] # Maximum allowed disk size usage in MB. ${LimitMaxDiskSizeInMb}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int64] # Maximum allowed memory usage in MB. ${LimitMaxMemoryInMb}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Double] # Maximum allowed CPU usage percentage. ${LimitMaxPercentageCpu}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Linux App Framework and version ${LinuxFxVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing] # Site load balancing. ${LoadBalancing}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to enable local MySQL; otherwise, <code>false</code>. ${LocalMySqlEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # HTTP logs directory size limit. ${LogsDirectorySizeLimit}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode] # Managed pipeline mode. ${ManagedPipelineMode}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Managed Service Identity Id ${ManagedServiceIdentityId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions] # MinTlsVersion: configures the minimum version of TLS required for SSL requests ${MinTlsVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # .NET Framework version. ${NetFrameworkVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of Node.js. ${NodeVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Number of workers. ${NumberOfWorker}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of PHP. ${PhpVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of PowerShell. ${PowerShellVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans ${PreWarmedInstanceCount}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Publishing user name. ${PublishingUsername}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${PushKind}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of Python. ${PythonVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. ${RemoteDebuggingEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Remote debugging version. ${RemoteDebuggingVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Request Count. ${RequestCount}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Time interval. ${RequestTimeInterval}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. ${RequestTracingEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.DateTime] # Request tracing expiration time. ${RequestTracingExpirationTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[]] # IP security restrictions for scm. # To construct, see NOTES section for SCMIPSECURITYRESTRICTION properties and create a hash table. ${ScmIPSecurityRestriction}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # IP security restrictions for scm to use main. ${ScmIPSecurityRestrictionsUseMain}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType] # SCM type. ${ScmType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Request Count. ${SlowRequestCount}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Time interval. ${SlowRequestTimeInterval}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Time taken. ${SlowRequestTimeTaken}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. ${TagWhitelistJson}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.Tags can consist of alphanumeric characters and the following:'_', '@', '#', '.', ':', '-'. # Validation should be performed at the PushRequestHandler. ${TagsRequiringAuth}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Tracing options. ${TracingOption}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # A rule based on private bytes. ${TriggerPrivateBytesInKb}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[]] # A rule based on status codes. # To construct, see NOTES section for TRIGGERSTATUSCODE properties and create a hash table. ${TriggerStatusCode}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. ${Use32BitWorkerProcess}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[]] # Virtual applications. # To construct, see NOTES section for VIRTUALAPPLICATION properties and create a hash table. ${VirtualApplication}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Virtual Network name. ${VnetName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. ${WebSocketsEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Xenon App Framework and version ${WindowsFxVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Explicit Managed Service Identity Id ${XManagedServiceIdentityId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Az.Functions.private\New-AzWebAppConfigurationSlot_Create'; CreateExpanded = 'Az.Functions.private\New-AzWebAppConfigurationSlot_CreateExpanded'; CreateViaIdentity = 'Az.Functions.private\New-AzWebAppConfigurationSlot_CreateViaIdentity'; CreateViaIdentityExpanded = 'Az.Functions.private\New-AzWebAppConfigurationSlot_CreateViaIdentityExpanded'; } if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Updates the configuration of an app. .Description Description for Updates the configuration of an app. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource .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. APPSETTING <INameValuePair[]>: Application settings. [Name <String>]: Pair name. [Value <String>]: Pair value. CONNECTIONSTRING <IConnStringInfo[]>: Connection strings. [ConnectionString <String>]: Connection string value. [Name <String>]: Name of connection string. [Type <ConnectionStringType?>]: Type of database. EXPERIMENTRAMPUPRULE <IRampUpRule[]>: List of ramp-up rules. [ActionHostName <String>]: Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. [ChangeDecisionCallbackUrl <String>]: Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/ [ChangeIntervalInMinute <Int32?>]: Specifies interval in minutes to reevaluate ReroutePercentage. [ChangeStep <Double?>]: In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches \n<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. [MaxReroutePercentage <Double?>]: Specifies upper boundary below which ReroutePercentage will stay. [MinReroutePercentage <Double?>]: Specifies lower boundary above which ReroutePercentage will stay. [Name <String>]: Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. [ReroutePercentage <Double?>]: Percentage of the traffic which will be redirected to <code>ActionHostName</code>. HANDLERMAPPING <IHandlerMapping[]>: Handler mappings. [Argument <String>]: Command-line arguments to be passed to the script processor. [Extension <String>]: Requests with this extension will be handled using the specified FastCGI application. [ScriptProcessor <String>]: The absolute path to the FastCGI application. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. IPSECURITYRESTRICTION <IIPSecurityRestriction[]>: IP security restrictions for main. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag SCMIPSECURITYRESTRICTION <IIPSecurityRestriction[]>: IP security restrictions for scm. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag SITECONFIG <ISiteConfigResource>: Web app configuration ARM resource. [Kind <String>]: Kind of resource. [ActionMinProcessExecutionTime <String>]: Minimum time the process must execute before taking the action [ActionType <AutoHealActionType?>]: Predefined action to be taken. [AlwaysOn <Boolean?>]: <code>true</code> if Always On is enabled; otherwise, <code>false</code>. [ApiDefinitionUrl <String>]: The URL of the API definition. [ApiManagementConfigId <String>]: APIM-Api Identifier. [AppCommandLine <String>]: App command line to launch. [AppSetting <INameValuePair[]>]: Application settings. [Name <String>]: Pair name. [Value <String>]: Pair value. [AutoHealEnabled <Boolean?>]: <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. [AutoSwapSlotName <String>]: Auto-swap slot name. [ConnectionString <IConnStringInfo[]>]: Connection strings. [ConnectionString <String>]: Connection string value. [Name <String>]: Name of connection string. [Type <ConnectionStringType?>]: Type of database. [CorAllowedOrigin <String[]>]: Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. [CorSupportCredentials <Boolean?>]: Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials for more details. [CustomActionExe <String>]: Executable to be run. [CustomActionParameter <String>]: Parameters for the executable. [DefaultDocument <String[]>]: Default documents. [DetailedErrorLoggingEnabled <Boolean?>]: <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. [DocumentRoot <String>]: Document root. [DynamicTagsJson <String>]: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. [ExperimentRampUpRule <IRampUpRule[]>]: List of ramp-up rules. [ActionHostName <String>]: Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. [ChangeDecisionCallbackUrl <String>]: Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/ [ChangeIntervalInMinute <Int32?>]: Specifies interval in minutes to reevaluate ReroutePercentage. [ChangeStep <Double?>]: In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches \n<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. [MaxReroutePercentage <Double?>]: Specifies upper boundary below which ReroutePercentage will stay. [MinReroutePercentage <Double?>]: Specifies lower boundary above which ReroutePercentage will stay. [Name <String>]: Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. [ReroutePercentage <Double?>]: Percentage of the traffic which will be redirected to <code>ActionHostName</code>. [FtpsState <FtpsState?>]: State of FTP / FTPS service [HandlerMapping <IHandlerMapping[]>]: Handler mappings. [Argument <String>]: Command-line arguments to be passed to the script processor. [Extension <String>]: Requests with this extension will be handled using the specified FastCGI application. [ScriptProcessor <String>]: The absolute path to the FastCGI application. [HealthCheckPath <String>]: Health check path [Http20Enabled <Boolean?>]: Http20Enabled: configures a web site to allow clients to connect over http2.0 [HttpLoggingEnabled <Boolean?>]: <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. [IPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for main. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag [IsPushEnabled <Boolean?>]: Gets or sets a flag indicating whether the Push endpoint is enabled. [JavaContainer <String>]: Java container. [JavaContainerVersion <String>]: Java container version. [JavaVersion <String>]: Java version. [LimitMaxDiskSizeInMb <Int64?>]: Maximum allowed disk size usage in MB. [LimitMaxMemoryInMb <Int64?>]: Maximum allowed memory usage in MB. [LimitMaxPercentageCpu <Double?>]: Maximum allowed CPU usage percentage. [LinuxFxVersion <String>]: Linux App Framework and version [LoadBalancing <SiteLoadBalancing?>]: Site load balancing. [LocalMySqlEnabled <Boolean?>]: <code>true</code> to enable local MySQL; otherwise, <code>false</code>. [LogsDirectorySizeLimit <Int32?>]: HTTP logs directory size limit. [MachineKeyDecryption <String>]: Algorithm used for decryption. [MachineKeyDecryptionKey <String>]: Decryption key. [MachineKeyValidation <String>]: MachineKey validation. [MachineKeyValidationKey <String>]: Validation key. [ManagedPipelineMode <ManagedPipelineMode?>]: Managed pipeline mode. [ManagedServiceIdentityId <Int32?>]: Managed Service Identity Id [MinTlsVersion <SupportedTlsVersions?>]: MinTlsVersion: configures the minimum version of TLS required for SSL requests [NetFrameworkVersion <String>]: .NET Framework version. [NodeVersion <String>]: Version of Node.js. [NumberOfWorker <Int32?>]: Number of workers. [PhpVersion <String>]: Version of PHP. [PowerShellVersion <String>]: Version of PowerShell. [PreWarmedInstanceCount <Int32?>]: Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans [PublishingUsername <String>]: Publishing user name. [PushKind <String>]: Kind of resource. [PythonVersion <String>]: Version of Python. [RemoteDebuggingEnabled <Boolean?>]: <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. [RemoteDebuggingVersion <String>]: Remote debugging version. [RequestCount <Int32?>]: Request Count. [RequestTimeInterval <String>]: Time interval. [RequestTracingEnabled <Boolean?>]: <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. [RequestTracingExpirationTime <DateTime?>]: Request tracing expiration time. [ScmIPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for scm. [ScmIPSecurityRestrictionsUseMain <Boolean?>]: IP security restrictions for scm to use main. [ScmType <ScmType?>]: SCM type. [SlowRequestCount <Int32?>]: Request Count. [SlowRequestTimeInterval <String>]: Time interval. [SlowRequestTimeTaken <String>]: Time taken. [TagWhitelistJson <String>]: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. [TagsRequiringAuth <String>]: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler. [TracingOption <String>]: Tracing options. [TriggerPrivateBytesInKb <Int32?>]: A rule based on private bytes. [TriggerStatusCode <IStatusCodesBasedTrigger[]>]: A rule based on status codes. [Count <Int32?>]: Request Count. [Status <Int32?>]: HTTP status code. [SubStatus <Int32?>]: Request Sub Status. [TimeInterval <String>]: Time interval. [Win32Status <Int32?>]: Win32 error code. [Use32BitWorkerProcess <Boolean?>]: <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. [VirtualApplication <IVirtualApplication[]>]: Virtual applications. [PhysicalPath <String>]: Physical path. [PreloadEnabled <Boolean?>]: <code>true</code> if preloading is enabled; otherwise, <code>false</code>. [VirtualDirectory <IVirtualDirectory[]>]: Virtual directories for virtual application. [PhysicalPath <String>]: Physical path. [VirtualPath <String>]: Path to virtual application. [VirtualPath <String>]: Virtual path. [VnetName <String>]: Virtual Network name. [WebSocketsEnabled <Boolean?>]: <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. [WindowsFxVersion <String>]: Xenon App Framework and version [XManagedServiceIdentityId <Int32?>]: Explicit Managed Service Identity Id TRIGGERSTATUSCODE <IStatusCodesBasedTrigger[]>: A rule based on status codes. [Count <Int32?>]: Request Count. [Status <Int32?>]: HTTP status code. [SubStatus <Int32?>]: Request Sub Status. [TimeInterval <String>]: Time interval. [Win32Status <Int32?>]: Win32 error code. VIRTUALAPPLICATION <IVirtualApplication[]>: Virtual applications. [PhysicalPath <String>]: Physical path. [PreloadEnabled <Boolean?>]: <code>true</code> if preloading is enabled; otherwise, <code>false</code>. [VirtualDirectory <IVirtualDirectory[]>]: Virtual directories for virtual application. [PhysicalPath <String>]: Physical path. [VirtualPath <String>]: Path to virtual application. [VirtualPath <String>]: Virtual path. .Link https://docs.microsoft.com/powershell/module/az.functions/new-azwebappconfiguration #> function New-AzWebAppConfiguration { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource])] [CmdletBinding(DefaultParameterSetName='CreateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(ParameterSetName='Create', Mandatory)] [Parameter(ParameterSetName='CreateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Create')] [Parameter(ParameterSetName='CreateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Create', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CreateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource] # Web app configuration ARM resource. # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Minimum time the process must executebefore taking the action ${ActionMinProcessExecutionTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType] # Predefined action to be taken. ${ActionType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if Always On is enabled; otherwise, <code>false</code>. ${AlwaysOn}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # The URL of the API definition. ${ApiDefinitionUrl}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # APIM-Api Identifier. ${ApiManagementConfigId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # App command line to launch. ${AppCommandLine}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[]] # Application settings. # To construct, see NOTES section for APPSETTING properties and create a hash table. ${AppSetting}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. ${AutoHealEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Auto-swap slot name. ${AutoSwapSlotName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[]] # Connection strings. # To construct, see NOTES section for CONNECTIONSTRING properties and create a hash table. ${ConnectionString}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String[]] # Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). # Use "*" to allow all. ${CorAllowedOrigin}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets whether CORS requests with credentials are allowed. # See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor more details. ${CorSupportCredentials}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Executable to be run. ${CustomActionExe}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Parameters for the executable. ${CustomActionParameter}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String[]] # Default documents. ${DefaultDocument}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. ${DetailedErrorLoggingEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Document root. ${DocumentRoot}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. ${DynamicTagsJson}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[]] # List of ramp-up rules. # To construct, see NOTES section for EXPERIMENTRAMPUPRULE properties and create a hash table. ${ExperimentRampUpRule}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState] # State of FTP / FTPS service ${FtpsState}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[]] # Handler mappings. # To construct, see NOTES section for HANDLERMAPPING properties and create a hash table. ${HandlerMapping}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Health check path ${HealthCheckPath}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Http20Enabled: configures a web site to allow clients to connect over http2.0 ${Http20Enabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. ${HttpLoggingEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[]] # IP security restrictions for main. # To construct, see NOTES section for IPSECURITYRESTRICTION properties and create a hash table. ${IPSecurityRestriction}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a flag indicating whether the Push endpoint is enabled. ${IsPushEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Java container. ${JavaContainer}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Java container version. ${JavaContainerVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Java version. ${JavaVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${Kind}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int64] # Maximum allowed disk size usage in MB. ${LimitMaxDiskSizeInMb}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int64] # Maximum allowed memory usage in MB. ${LimitMaxMemoryInMb}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Double] # Maximum allowed CPU usage percentage. ${LimitMaxPercentageCpu}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Linux App Framework and version ${LinuxFxVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing] # Site load balancing. ${LoadBalancing}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to enable local MySQL; otherwise, <code>false</code>. ${LocalMySqlEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # HTTP logs directory size limit. ${LogsDirectorySizeLimit}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode] # Managed pipeline mode. ${ManagedPipelineMode}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Managed Service Identity Id ${ManagedServiceIdentityId}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions] # MinTlsVersion: configures the minimum version of TLS required for SSL requests ${MinTlsVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # .NET Framework version. ${NetFrameworkVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of Node.js. ${NodeVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Number of workers. ${NumberOfWorker}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of PHP. ${PhpVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of PowerShell. ${PowerShellVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans ${PreWarmedInstanceCount}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Publishing user name. ${PublishingUsername}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${PushKind}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of Python. ${PythonVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. ${RemoteDebuggingEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Remote debugging version. ${RemoteDebuggingVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Request Count. ${RequestCount}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Time interval. ${RequestTimeInterval}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. ${RequestTracingEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.DateTime] # Request tracing expiration time. ${RequestTracingExpirationTime}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[]] # IP security restrictions for scm. # To construct, see NOTES section for SCMIPSECURITYRESTRICTION properties and create a hash table. ${ScmIPSecurityRestriction}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # IP security restrictions for scm to use main. ${ScmIPSecurityRestrictionsUseMain}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType] # SCM type. ${ScmType}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Request Count. ${SlowRequestCount}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Time interval. ${SlowRequestTimeInterval}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Time taken. ${SlowRequestTimeTaken}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. ${TagWhitelistJson}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.Tags can consist of alphanumeric characters and the following:'_', '@', '#', '.', ':', '-'. # Validation should be performed at the PushRequestHandler. ${TagsRequiringAuth}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Tracing options. ${TracingOption}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # A rule based on private bytes. ${TriggerPrivateBytesInKb}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[]] # A rule based on status codes. # To construct, see NOTES section for TRIGGERSTATUSCODE properties and create a hash table. ${TriggerStatusCode}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. ${Use32BitWorkerProcess}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[]] # Virtual applications. # To construct, see NOTES section for VIRTUALAPPLICATION properties and create a hash table. ${VirtualApplication}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Virtual Network name. ${VnetName}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. ${WebSocketsEnabled}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Xenon App Framework and version ${WindowsFxVersion}, [Parameter(ParameterSetName='CreateExpanded')] [Parameter(ParameterSetName='CreateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Explicit Managed Service Identity Id ${XManagedServiceIdentityId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Create = 'Az.Functions.private\New-AzWebAppConfiguration_Create'; CreateExpanded = 'Az.Functions.private\New-AzWebAppConfiguration_CreateExpanded'; CreateViaIdentity = 'Az.Functions.private\New-AzWebAppConfiguration_CreateViaIdentity'; CreateViaIdentityExpanded = 'Az.Functions.private\New-AzWebAppConfiguration_CreateViaIdentityExpanded'; } if (('Create', 'CreateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Delete an App Service plan. .Description Description for Delete an App Service plan. .Example PS C:\> Get-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionAppPlan -Force .Example PS C:\> Remove-AzFunctionAppPlan -Name MyAppName -ResourceGroupName MyResourceGroupName -Force .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs System.Boolean .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/remove-azfunctionappplan #> function Remove-AzFunctionAppPlan { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the App Service plan. ${Name}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Az.Functions.private\Remove-AzFunctionAppPlan_Delete'; DeleteViaIdentity = 'Az.Functions.private\Remove-AzFunctionAppPlan_DeleteViaIdentity'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Deletes a web, mobile, or API app, or one of the deployment slots. .Description Description for Deletes a web, mobile, or API app, or one of the deployment slots. .Example PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Remove-AzFunctionApp -Force .Example PS C:\> Remove-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs System.Boolean .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/remove-azfunctionapp #> function Remove-AzFunctionApp { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app to delete. ${Name}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Query')] [System.Management.Automation.SwitchParameter] # Specify false if you want to keep empty App Service plan. # By default, empty App Service plan is deleted. ${DeleteEmptyServerFarm}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Query')] [System.Management.Automation.SwitchParameter] # If true, web app metrics are also deleted. ${DeleteMetric}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Az.Functions.private\Remove-AzFunctionApp_Delete'; DeleteViaIdentity = 'Az.Functions.private\Remove-AzFunctionApp_DeleteViaIdentity'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Delete a function for web site, or a deployment slot. .Description Description for Delete a function for web site, or a deployment slot. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs System.Boolean .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/remove-azfunction #> function Remove-AzFunction { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Site name. ${FunctionAppName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Function name. ${FunctionName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Az.Functions.private\Remove-AzFunction_Delete'; DeleteViaIdentity = 'Az.Functions.private\Remove-AzFunction_DeleteViaIdentity'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Deletes the identity. .Description Deletes the identity. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs System.Boolean .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/remove-azuserassignedidentity #> function Remove-AzUserAssignedIdentity { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Delete', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The name of the Resource Group to which the identity belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Delete', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The name of the identity resource. ${ResourceName}, [Parameter(ParameterSetName='Delete')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='DeleteViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Delete = 'Az.Functions.private\Remove-AzUserAssignedIdentity_Delete'; DeleteViaIdentity = 'Az.Functions.private\Remove-AzUserAssignedIdentity_DeleteViaIdentity'; } if (('Delete') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Restarts an app (or deployment slot, if specified). .Description Description for Restarts an app (or deployment slot, if specified). .Example PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Restart-AzFunctionApp -Force .Example PS C:\> Restart-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs System.Boolean .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/restart-azfunctionapp #> function Restart-AzFunctionApp { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Restart', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Restart', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(ParameterSetName='Restart', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Restart')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='RestartViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Query')] [System.Management.Automation.SwitchParameter] # Specify true to apply the configuration settings and restarts the app only if necessary. # By default, the API always restarts and reprovisions the app. ${SoftRestart}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Query')] [System.Management.Automation.SwitchParameter] # Specify true to block until the app is restarted. # By default, it is set to false, and the API responds immediately (asynchronous). ${Synchronou}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Restart = 'Az.Functions.private\Restart-AzFunctionApp_Restart'; RestartViaIdentity = 'Az.Functions.private\Restart-AzFunctionApp_RestartViaIdentity'; } if (('Restart') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Restores a specific backup to another app (or deployment slot, if specified). .Description Description for Restores a specific backup to another app (or deployment slot, if specified). .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRestoreRequest .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs System.Boolean .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. DATABASE <IDatabaseBackupSetting[]>: Collection of databases which should be restored. This list has to match the list of databases included in the backup. DatabaseType <DatabaseType>: Database type (e.g. SqlAzure / MySql). [ConnectionString <String>]: Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one. [ConnectionStringName <String>]: Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options. [Name <String>]: INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. REQUEST <IRestoreRequest>: Description of a restore request. [Kind <String>]: Kind of resource. [AdjustConnectionString <Boolean?>]: <code>true</code> if SiteConfig.ConnectionStrings should be set in new app; otherwise, <code>false</code>. [AppServicePlan <String>]: Specify app service plan that will own restored site. [BlobName <String>]: Name of a blob which contains the backup. [Database <IDatabaseBackupSetting[]>]: Collection of databases which should be restored. This list has to match the list of databases included in the backup. DatabaseType <DatabaseType>: Database type (e.g. SqlAzure / MySql). [ConnectionString <String>]: Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one. [ConnectionStringName <String>]: Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options. [Name <String>]: [HostingEnvironment <String>]: App Service Environment name, if needed (only when restoring an app to an App Service Environment). [IgnoreConflictingHostName <Boolean?>]: Changes a logic when restoring an app with custom domains. <code>true</code> to remove custom domains automatically. If <code>false</code>, custom domains are added to the app's object when it is being restored, but that might fail due to conflicts during the operation. [IgnoreDatabase <Boolean?>]: Ignore the databases and only restore the site content [OperationType <BackupRestoreOperationType?>]: Operation type. [Overwrite <Boolean?>]: <code>true</code> if the restore operation can overwrite target app; otherwise, <code>false</code>. <code>true</code> is needed if trying to restore over an existing app. [SiteName <String>]: Name of an app. [StorageAccountUrl <String>]: SAS URL to the container. .Link https://docs.microsoft.com/powershell/module/az.functions/restore-azfunctionapp #> function Restore-AzFunctionApp { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='RestoreExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Restore', Mandatory)] [Parameter(ParameterSetName='RestoreExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # ID of the backup. ${BackupId}, [Parameter(ParameterSetName='Restore', Mandatory)] [Parameter(ParameterSetName='RestoreExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(ParameterSetName='Restore', Mandatory)] [Parameter(ParameterSetName='RestoreExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Restore')] [Parameter(ParameterSetName='RestoreExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='RestoreViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='RestoreViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Restore', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='RestoreViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRestoreRequest] # Description of a restore request. # To construct, see NOTES section for REQUEST properties and create a hash table. ${Request}, [Parameter(ParameterSetName='RestoreExpanded')] [Parameter(ParameterSetName='RestoreViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if SiteConfig.ConnectionStrings should be set in new app; otherwise, <code>false</code>. ${AdjustConnectionString}, [Parameter(ParameterSetName='RestoreExpanded')] [Parameter(ParameterSetName='RestoreViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Specify app service plan that will own restored site. ${AppServicePlan}, [Parameter(ParameterSetName='RestoreExpanded')] [Parameter(ParameterSetName='RestoreViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Name of a blob which contains the backup. ${BlobName}, [Parameter(ParameterSetName='RestoreExpanded')] [Parameter(ParameterSetName='RestoreViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IDatabaseBackupSetting[]] # Collection of databases which should be restored. # This list has to match the list of databases included in the backup. # To construct, see NOTES section for DATABASE properties and create a hash table. ${Database}, [Parameter(ParameterSetName='RestoreExpanded')] [Parameter(ParameterSetName='RestoreViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # App Service Environment name, if needed (only when restoring an app to an App Service Environment). ${HostingEnvironment}, [Parameter(ParameterSetName='RestoreExpanded')] [Parameter(ParameterSetName='RestoreViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Changes a logic when restoring an app with custom domains. # <code>true</code> to remove custom domains automatically. # If <code>false</code>, custom domains are added to the app's object when it is being restored, but that might fail due to conflicts during the operation. ${IgnoreConflictingHostName}, [Parameter(ParameterSetName='RestoreExpanded')] [Parameter(ParameterSetName='RestoreViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Ignore the databases and only restore the site content ${IgnoreDatabase}, [Parameter(ParameterSetName='RestoreExpanded')] [Parameter(ParameterSetName='RestoreViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${Kind}, [Parameter(ParameterSetName='RestoreExpanded')] [Parameter(ParameterSetName='RestoreViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BackupRestoreOperationType])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.BackupRestoreOperationType] # Operation type. ${OperationType}, [Parameter(ParameterSetName='RestoreExpanded')] [Parameter(ParameterSetName='RestoreViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if the restore operation can overwrite target app; otherwise, <code>false</code>. # <code>true</code> is needed if trying to restore over an existing app. ${Overwrite}, [Parameter(ParameterSetName='RestoreExpanded')] [Parameter(ParameterSetName='RestoreViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Name of an app. ${SiteName}, [Parameter(ParameterSetName='RestoreExpanded')] [Parameter(ParameterSetName='RestoreViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # SAS URL to the container. ${StorageAccountUrl}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Restore = 'Az.Functions.private\Restore-AzFunctionApp_Restore'; RestoreExpanded = 'Az.Functions.private\Restore-AzFunctionApp_RestoreExpanded'; RestoreViaIdentity = 'Az.Functions.private\Restore-AzFunctionApp_RestoreViaIdentity'; RestoreViaIdentityExpanded = 'Az.Functions.private\Restore-AzFunctionApp_RestoreViaIdentityExpanded'; } if (('Restore', 'RestoreExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Creates or updates an App Service Plan. .Description Description for Creates or updates an App Service Plan. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan .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. APPSERVICEPLAN <IAppServicePlan>: App Service plan. Location <String>: Resource Location. [Kind <String>]: Kind of resource. [Tag <IResourceTags>]: Resource tags. [(Any) <String>]: This indicates any property can be added to this object. [Capacity <Int32?>]: Current number of instances assigned to the resource. [FreeOfferExpirationTime <DateTime?>]: The time when the server farm free offer expires. [HostingEnvironmentProfileId <String>]: Resource ID of the App Service Environment. [HyperV <Boolean?>]: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. [IsSpot <Boolean?>]: If <code>true</code>, this App Service Plan owns spot instances. [IsXenon <Boolean?>]: Obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. [MaximumElasticWorkerCount <Int32?>]: Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan [PerSiteScaling <Boolean?>]: If <code>true</code>, apps assigned to this App Service plan can be scaled independently. If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. [Reserved <Boolean?>]: If Linux app service plan <code>true</code>, <code>false</code> otherwise. [SkuCapability <ICapability[]>]: Capabilities of the SKU, e.g., is traffic manager enabled? [Name <String>]: Name of the SKU capability. [Reason <String>]: Reason of the SKU capability. [Value <String>]: Value of the SKU capability. [SkuCapacityDefault <Int32?>]: Default number of workers for this App Service plan SKU. [SkuCapacityMaximum <Int32?>]: Maximum number of workers for this App Service plan SKU. [SkuCapacityMinimum <Int32?>]: Minimum number of workers for this App Service plan SKU. [SkuCapacityScaleType <String>]: Available scale configurations for an App Service plan. [SkuFamily <String>]: Family code of the resource SKU. [SkuLocation <String[]>]: Locations of the SKU. [SkuName <String>]: Name of the resource SKU. [SkuSize <String>]: Size specifier of the resource SKU. [SkuTier <String>]: Service tier of the resource SKU. [SpotExpirationTime <DateTime?>]: The time when the server farm expires. Valid only if it is a spot server farm. [TargetWorkerCount <Int32?>]: Scaling worker count. [TargetWorkerSizeId <Int32?>]: Scaling worker size ID. [WorkerTierName <String>]: Target worker tier assigned to the App Service plan. SKUCAPABILITY <ICapability[]>: Capabilities of the SKU, e.g., is traffic manager enabled [Name <String>]: Name of the SKU capability. [Reason <String>]: Reason of the SKU capability. [Value <String>]: Value of the SKU capability. .Link https://docs.microsoft.com/powershell/module/az.functions/set-azfunctionappplan #> function Set-AzFunctionAppPlan { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the App Service plan. ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan] # App Service plan. # To construct, see NOTES section for APPSERVICEPLAN properties and create a hash table. ${AppServicePlan}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Resource Location. ${Location}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Current number of instances assigned to the resource. ${Capacity}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.DateTime] # The time when the server farm free offer expires. ${FreeOfferExpirationTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Resource ID of the App Service Environment. ${HostingEnvironmentProfileId}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. ${HyperV}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # If <code>true</code>, this App Service Plan owns spot instances. ${IsSpot}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. ${IsXenon}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${Kind}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan ${MaximumElasticWorkerCount}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # If <code>true</code>, apps assigned to this App Service plan can be scaled independently.If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. ${PerSiteScaling}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # If Linux app service plan <code>true</code>, <code>false</code> otherwise. ${Reserved}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICapability[]] # Capabilities of the SKU, e.g., is traffic manager enabled # To construct, see NOTES section for SKUCAPABILITY properties and create a hash table. ${SkuCapability}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Default number of workers for this App Service plan SKU. ${SkuCapacityDefault}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Maximum number of workers for this App Service plan SKU. ${SkuCapacityMaximum}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Minimum number of workers for this App Service plan SKU. ${SkuCapacityMinimum}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Available scale configurations for an App Service plan. ${SkuCapacityScaleType}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Family code of the resource SKU. ${SkuFamily}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String[]] # Locations of the SKU. ${SkuLocation}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Name of the resource SKU. ${SkuName}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Size specifier of the resource SKU. ${SkuSize}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Service tier of the resource SKU. ${SkuTier}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.DateTime] # The time when the server farm expires. # Valid only if it is a spot server farm. ${SpotExpirationTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Scaling worker count. ${TargetWorkerCount}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Scaling worker size ID. ${TargetWorkerSizeId}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Target worker tier assigned to the App Service plan. ${WorkerTierName}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Az.Functions.private\Set-AzFunctionAppPlan_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzFunctionAppPlan_UpdateExpanded'; } if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. .Description Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite .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. HOSTNAMESSLSTATE <IHostNameSslState[]>: Hostname SSL states are used to manage the SSL bindings for app's hostnames. [HostType <HostType?>]: Indicates whether the hostname is a standard or repository hostname. [Name <String>]: Hostname. [SslState <SslState?>]: SSL type. [Thumbprint <String>]: SSL certificate thumbprint. [ToUpdate <Boolean?>]: Set to <code>true</code> to update existing hostname. [VirtualIP <String>]: Virtual IP address assigned to the hostname if IP based SSL is enabled. SITECONFIG <ISiteConfig>: Configuration of the app. [ActionMinProcessExecutionTime <String>]: Minimum time the process must execute before taking the action [ActionType <AutoHealActionType?>]: Predefined action to be taken. [AlwaysOn <Boolean?>]: <code>true</code> if Always On is enabled; otherwise, <code>false</code>. [ApiDefinitionUrl <String>]: The URL of the API definition. [ApiManagementConfigId <String>]: APIM-Api Identifier. [AppCommandLine <String>]: App command line to launch. [AppSetting <INameValuePair[]>]: Application settings. [Name <String>]: Pair name. [Value <String>]: Pair value. [AutoHealEnabled <Boolean?>]: <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. [AutoSwapSlotName <String>]: Auto-swap slot name. [ConnectionString <IConnStringInfo[]>]: Connection strings. [ConnectionString <String>]: Connection string value. [Name <String>]: Name of connection string. [Type <ConnectionStringType?>]: Type of database. [CorAllowedOrigin <String[]>]: Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. [CorSupportCredentials <Boolean?>]: Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials for more details. [CustomActionExe <String>]: Executable to be run. [CustomActionParameter <String>]: Parameters for the executable. [DefaultDocument <String[]>]: Default documents. [DetailedErrorLoggingEnabled <Boolean?>]: <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. [DocumentRoot <String>]: Document root. [DynamicTagsJson <String>]: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. [ExperimentRampUpRule <IRampUpRule[]>]: List of ramp-up rules. [ActionHostName <String>]: Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. [ChangeDecisionCallbackUrl <String>]: Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/ [ChangeIntervalInMinute <Int32?>]: Specifies interval in minutes to reevaluate ReroutePercentage. [ChangeStep <Double?>]: In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches \n<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. [MaxReroutePercentage <Double?>]: Specifies upper boundary below which ReroutePercentage will stay. [MinReroutePercentage <Double?>]: Specifies lower boundary above which ReroutePercentage will stay. [Name <String>]: Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. [ReroutePercentage <Double?>]: Percentage of the traffic which will be redirected to <code>ActionHostName</code>. [FtpsState <FtpsState?>]: State of FTP / FTPS service [HandlerMapping <IHandlerMapping[]>]: Handler mappings. [Argument <String>]: Command-line arguments to be passed to the script processor. [Extension <String>]: Requests with this extension will be handled using the specified FastCGI application. [ScriptProcessor <String>]: The absolute path to the FastCGI application. [HealthCheckPath <String>]: Health check path [Http20Enabled <Boolean?>]: Http20Enabled: configures a web site to allow clients to connect over http2.0 [HttpLoggingEnabled <Boolean?>]: <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. [IPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for main. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag [IsPushEnabled <Boolean?>]: Gets or sets a flag indicating whether the Push endpoint is enabled. [JavaContainer <String>]: Java container. [JavaContainerVersion <String>]: Java container version. [JavaVersion <String>]: Java version. [LimitMaxDiskSizeInMb <Int64?>]: Maximum allowed disk size usage in MB. [LimitMaxMemoryInMb <Int64?>]: Maximum allowed memory usage in MB. [LimitMaxPercentageCpu <Double?>]: Maximum allowed CPU usage percentage. [LinuxFxVersion <String>]: Linux App Framework and version [LoadBalancing <SiteLoadBalancing?>]: Site load balancing. [LocalMySqlEnabled <Boolean?>]: <code>true</code> to enable local MySQL; otherwise, <code>false</code>. [LogsDirectorySizeLimit <Int32?>]: HTTP logs directory size limit. [MachineKeyDecryption <String>]: Algorithm used for decryption. [MachineKeyDecryptionKey <String>]: Decryption key. [MachineKeyValidation <String>]: MachineKey validation. [MachineKeyValidationKey <String>]: Validation key. [ManagedPipelineMode <ManagedPipelineMode?>]: Managed pipeline mode. [ManagedServiceIdentityId <Int32?>]: Managed Service Identity Id [MinTlsVersion <SupportedTlsVersions?>]: MinTlsVersion: configures the minimum version of TLS required for SSL requests [NetFrameworkVersion <String>]: .NET Framework version. [NodeVersion <String>]: Version of Node.js. [NumberOfWorker <Int32?>]: Number of workers. [PhpVersion <String>]: Version of PHP. [PowerShellVersion <String>]: Version of PowerShell. [PreWarmedInstanceCount <Int32?>]: Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans [PublishingUsername <String>]: Publishing user name. [PushKind <String>]: Kind of resource. [PythonVersion <String>]: Version of Python. [RemoteDebuggingEnabled <Boolean?>]: <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. [RemoteDebuggingVersion <String>]: Remote debugging version. [RequestCount <Int32?>]: Request Count. [RequestTimeInterval <String>]: Time interval. [RequestTracingEnabled <Boolean?>]: <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. [RequestTracingExpirationTime <DateTime?>]: Request tracing expiration time. [ScmIPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for scm. [ScmIPSecurityRestrictionsUseMain <Boolean?>]: IP security restrictions for scm to use main. [ScmType <ScmType?>]: SCM type. [SlowRequestCount <Int32?>]: Request Count. [SlowRequestTimeInterval <String>]: Time interval. [SlowRequestTimeTaken <String>]: Time taken. [TagWhitelistJson <String>]: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. [TagsRequiringAuth <String>]: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler. [TracingOption <String>]: Tracing options. [TriggerPrivateBytesInKb <Int32?>]: A rule based on private bytes. [TriggerStatusCode <IStatusCodesBasedTrigger[]>]: A rule based on status codes. [Count <Int32?>]: Request Count. [Status <Int32?>]: HTTP status code. [SubStatus <Int32?>]: Request Sub Status. [TimeInterval <String>]: Time interval. [Win32Status <Int32?>]: Win32 error code. [Use32BitWorkerProcess <Boolean?>]: <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. [VirtualApplication <IVirtualApplication[]>]: Virtual applications. [PhysicalPath <String>]: Physical path. [PreloadEnabled <Boolean?>]: <code>true</code> if preloading is enabled; otherwise, <code>false</code>. [VirtualDirectory <IVirtualDirectory[]>]: Virtual directories for virtual application. [PhysicalPath <String>]: Physical path. [VirtualPath <String>]: Path to virtual application. [VirtualPath <String>]: Virtual path. [VnetName <String>]: Virtual Network name. [WebSocketsEnabled <Boolean?>]: <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. [WindowsFxVersion <String>]: Xenon App Framework and version [XManagedServiceIdentityId <Int32?>]: Explicit Managed Service Identity Id SITEENVELOPE <ISite>: A web app, a mobile app backend, or an API app. Location <String>: Resource Location. [Kind <String>]: Kind of resource. [Tag <IResourceTags>]: Resource tags. [(Any) <String>]: This indicates any property can be added to this object. [ClientAffinityEnabled <Boolean?>]: <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>. [ClientCertEnabled <Boolean?>]: <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>. [ClientCertExclusionPath <String>]: client certificate authentication comma-separated exclusion paths [CloningInfoAppSettingsOverride <ICloningInfoAppSettingsOverrides>]: Application setting overrides for cloned app. If specified, these settings override the settings cloned from source app. Otherwise, application settings from source app are retained. [(Any) <String>]: This indicates any property can be added to this object. [CloningInfoCloneCustomHostName <Boolean?>]: <code>true</code> to clone custom hostnames from source app; otherwise, <code>false</code>. [CloningInfoCloneSourceControl <Boolean?>]: <code>true</code> to clone source control from source app; otherwise, <code>false</code>. [CloningInfoConfigureLoadBalancing <Boolean?>]: <code>true</code> to configure load balancing for source and destination app. [CloningInfoCorrelationId <String>]: Correlation ID of cloning operation. This ID ties multiple cloning operations together to use the same snapshot. [CloningInfoHostingEnvironment <String>]: App Service Environment. [CloningInfoOverwrite <Boolean?>]: <code>true</code> to overwrite destination app; otherwise, <code>false</code>. [CloningInfoSourceWebAppId <String>]: ARM resource ID of the source app. App resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. [CloningInfoSourceWebAppLocation <String>]: Location of source app ex: West US or North Europe [CloningInfoTrafficManagerProfileId <String>]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName <String>]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [Config <ISiteConfig>]: Configuration of the app. [ActionMinProcessExecutionTime <String>]: Minimum time the process must execute before taking the action [ActionType <AutoHealActionType?>]: Predefined action to be taken. [AlwaysOn <Boolean?>]: <code>true</code> if Always On is enabled; otherwise, <code>false</code>. [ApiDefinitionUrl <String>]: The URL of the API definition. [ApiManagementConfigId <String>]: APIM-Api Identifier. [AppCommandLine <String>]: App command line to launch. [AppSetting <INameValuePair[]>]: Application settings. [Name <String>]: Pair name. [Value <String>]: Pair value. [AutoHealEnabled <Boolean?>]: <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. [AutoSwapSlotName <String>]: Auto-swap slot name. [ConnectionString <IConnStringInfo[]>]: Connection strings. [ConnectionString <String>]: Connection string value. [Name <String>]: Name of connection string. [Type <ConnectionStringType?>]: Type of database. [CorAllowedOrigin <String[]>]: Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. [CorSupportCredentials <Boolean?>]: Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials for more details. [CustomActionExe <String>]: Executable to be run. [CustomActionParameter <String>]: Parameters for the executable. [DefaultDocument <String[]>]: Default documents. [DetailedErrorLoggingEnabled <Boolean?>]: <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. [DocumentRoot <String>]: Document root. [DynamicTagsJson <String>]: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. [ExperimentRampUpRule <IRampUpRule[]>]: List of ramp-up rules. [ActionHostName <String>]: Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. [ChangeDecisionCallbackUrl <String>]: Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/ [ChangeIntervalInMinute <Int32?>]: Specifies interval in minutes to reevaluate ReroutePercentage. [ChangeStep <Double?>]: In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches \n<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. [MaxReroutePercentage <Double?>]: Specifies upper boundary below which ReroutePercentage will stay. [MinReroutePercentage <Double?>]: Specifies lower boundary above which ReroutePercentage will stay. [Name <String>]: Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. [ReroutePercentage <Double?>]: Percentage of the traffic which will be redirected to <code>ActionHostName</code>. [FtpsState <FtpsState?>]: State of FTP / FTPS service [HandlerMapping <IHandlerMapping[]>]: Handler mappings. [Argument <String>]: Command-line arguments to be passed to the script processor. [Extension <String>]: Requests with this extension will be handled using the specified FastCGI application. [ScriptProcessor <String>]: The absolute path to the FastCGI application. [HealthCheckPath <String>]: Health check path [Http20Enabled <Boolean?>]: Http20Enabled: configures a web site to allow clients to connect over http2.0 [HttpLoggingEnabled <Boolean?>]: <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. [IPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for main. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag [IsPushEnabled <Boolean?>]: Gets or sets a flag indicating whether the Push endpoint is enabled. [JavaContainer <String>]: Java container. [JavaContainerVersion <String>]: Java container version. [JavaVersion <String>]: Java version. [LimitMaxDiskSizeInMb <Int64?>]: Maximum allowed disk size usage in MB. [LimitMaxMemoryInMb <Int64?>]: Maximum allowed memory usage in MB. [LimitMaxPercentageCpu <Double?>]: Maximum allowed CPU usage percentage. [LinuxFxVersion <String>]: Linux App Framework and version [LoadBalancing <SiteLoadBalancing?>]: Site load balancing. [LocalMySqlEnabled <Boolean?>]: <code>true</code> to enable local MySQL; otherwise, <code>false</code>. [LogsDirectorySizeLimit <Int32?>]: HTTP logs directory size limit. [MachineKeyDecryption <String>]: Algorithm used for decryption. [MachineKeyDecryptionKey <String>]: Decryption key. [MachineKeyValidation <String>]: MachineKey validation. [MachineKeyValidationKey <String>]: Validation key. [ManagedPipelineMode <ManagedPipelineMode?>]: Managed pipeline mode. [ManagedServiceIdentityId <Int32?>]: Managed Service Identity Id [MinTlsVersion <SupportedTlsVersions?>]: MinTlsVersion: configures the minimum version of TLS required for SSL requests [NetFrameworkVersion <String>]: .NET Framework version. [NodeVersion <String>]: Version of Node.js. [NumberOfWorker <Int32?>]: Number of workers. [PhpVersion <String>]: Version of PHP. [PowerShellVersion <String>]: Version of PowerShell. [PreWarmedInstanceCount <Int32?>]: Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans [PublishingUsername <String>]: Publishing user name. [PushKind <String>]: Kind of resource. [PythonVersion <String>]: Version of Python. [RemoteDebuggingEnabled <Boolean?>]: <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. [RemoteDebuggingVersion <String>]: Remote debugging version. [RequestCount <Int32?>]: Request Count. [RequestTimeInterval <String>]: Time interval. [RequestTracingEnabled <Boolean?>]: <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. [RequestTracingExpirationTime <DateTime?>]: Request tracing expiration time. [ScmIPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for scm. [ScmIPSecurityRestrictionsUseMain <Boolean?>]: IP security restrictions for scm to use main. [ScmType <ScmType?>]: SCM type. [SlowRequestCount <Int32?>]: Request Count. [SlowRequestTimeInterval <String>]: Time interval. [SlowRequestTimeTaken <String>]: Time taken. [TagWhitelistJson <String>]: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. [TagsRequiringAuth <String>]: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler. [TracingOption <String>]: Tracing options. [TriggerPrivateBytesInKb <Int32?>]: A rule based on private bytes. [TriggerStatusCode <IStatusCodesBasedTrigger[]>]: A rule based on status codes. [Count <Int32?>]: Request Count. [Status <Int32?>]: HTTP status code. [SubStatus <Int32?>]: Request Sub Status. [TimeInterval <String>]: Time interval. [Win32Status <Int32?>]: Win32 error code. [Use32BitWorkerProcess <Boolean?>]: <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. [VirtualApplication <IVirtualApplication[]>]: Virtual applications. [PhysicalPath <String>]: Physical path. [PreloadEnabled <Boolean?>]: <code>true</code> if preloading is enabled; otherwise, <code>false</code>. [VirtualDirectory <IVirtualDirectory[]>]: Virtual directories for virtual application. [PhysicalPath <String>]: Physical path. [VirtualPath <String>]: Path to virtual application. [VirtualPath <String>]: Virtual path. [VnetName <String>]: Virtual Network name. [WebSocketsEnabled <Boolean?>]: <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. [WindowsFxVersion <String>]: Xenon App Framework and version [XManagedServiceIdentityId <Int32?>]: Explicit Managed Service Identity Id [ContainerSize <Int32?>]: Size of the function container. [DailyMemoryTimeQuota <Int32?>]: Maximum allowed daily memory-time quota (applicable on dynamic apps only). [Enabled <Boolean?>]: <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline). [HostNameSslState <IHostNameSslState[]>]: Hostname SSL states are used to manage the SSL bindings for app's hostnames. [HostType <HostType?>]: Indicates whether the hostname is a standard or repository hostname. [Name <String>]: Hostname. [SslState <SslState?>]: SSL type. [Thumbprint <String>]: SSL certificate thumbprint. [ToUpdate <Boolean?>]: Set to <code>true</code> to update existing hostname. [VirtualIP <String>]: Virtual IP address assigned to the hostname if IP based SSL is enabled. [HostNamesDisabled <Boolean?>]: <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. If <code>true</code>, the app is only accessible via API management process. [HostingEnvironmentProfileId <String>]: Resource ID of the App Service Environment. [HttpsOnly <Boolean?>]: HttpsOnly: configures a web site to accept only https requests. Issues redirect for http requests [HyperV <Boolean?>]: Hyper-V sandbox. [IdentityType <ManagedServiceIdentityType?>]: Type of managed service identity. [IdentityUserAssignedIdentity <IManagedServiceIdentityUserAssignedIdentities>]: 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} [(Any) <IComponents1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties>]: This indicates any property can be added to this object. [IsXenon <Boolean?>]: Obsolete: Hyper-V sandbox. [RedundancyMode <RedundancyMode?>]: Site redundancy mode [Reserved <Boolean?>]: <code>true</code> if reserved; otherwise, <code>false</code>. [ScmSiteAlsoStopped <Boolean?>]: <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>. [ServerFarmId <String>]: Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". .Link https://docs.microsoft.com/powershell/module/az.functions/set-azfunctionapp #> function Set-AzFunctionApp { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Unique name of the app to create or update. # To create or update a deployment slot, use the {slot} parameter. ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite] # A web app, a mobile app backend, or an API app. # To construct, see NOTES section for SITEENVELOPE properties and create a hash table. ${SiteEnvelope}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Resource Location. ${Location}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. # Default is <code>true</code>. ${ClientAffinityEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. # Default is <code>false</code>. ${ClientCertEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # client certificate authentication comma-separated exclusion paths ${ClientCertExclusionPath}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICloningInfoAppSettingsOverrides]))] [System.Collections.Hashtable] # Application setting overrides for cloned app. # If specified, these settings override the settings cloned from source app. # Otherwise, application settings from source app are retained. ${CloningInfoAppSettingsOverride}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to clone custom hostnames from source app; otherwise, <code>false</code>. ${CloningInfoCloneCustomHostName}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to clone source control from source app; otherwise, <code>false</code>. ${CloningInfoCloneSourceControl}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to configure load balancing for source and destination app. ${CloningInfoConfigureLoadBalancing}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Correlation ID of cloning operation. # This ID ties multiple cloning operationstogether to use the same snapshot. ${CloningInfoCorrelationId}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # App Service Environment. ${CloningInfoHostingEnvironment}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to overwrite destination app; otherwise, <code>false</code>. ${CloningInfoOverwrite}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # ARM resource ID of the source app. # App resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. ${CloningInfoSourceWebAppId}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Location of source app ex: West US or North Europe ${CloningInfoSourceWebAppLocation}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # ARM resource ID of the Traffic Manager profile to use, if it exists. # Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. ${CloningInfoTrafficManagerProfileId}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Name of Traffic Manager profile to create. # This is only needed if Traffic Manager profile does not already exist. ${CloningInfoTrafficManagerProfileName}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Size of the function container. ${ContainerSize}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Maximum allowed daily memory-time quota (applicable on dynamic apps only). ${DailyMemoryTimeQuota}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if the app is enabled; otherwise, <code>false</code>. # Setting this value to false disables the app (takes the app offline). ${Enabled}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHostNameSslState[]] # Hostname SSL states are used to manage the SSL bindings for app's hostnames. # To construct, see NOTES section for HOSTNAMESSLSTATE properties and create a hash table. ${HostNameSslState}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. # If <code>true</code>, the app is only accessible via API management process. ${HostNamesDisabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Resource ID of the App Service Environment. ${HostingEnvironmentProfileId}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # HttpsOnly: configures a web site to accept only https requests. # Issues redirect forhttp requests ${HttpsOnly}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Hyper-V sandbox. ${HyperV}, [Parameter(ParameterSetName='UpdateExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType] # Type of managed service identity. ${IdentityType}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.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}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Obsolete: Hyper-V sandbox. ${IsXenon}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${Kind}, [Parameter(ParameterSetName='UpdateExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode] # Site redundancy mode ${RedundancyMode}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if reserved; otherwise, <code>false</code>. ${Reserved}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. # The default is <code>false</code>. ${ScmSiteAlsoStopped}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". ${ServerFarmId}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig] # Configuration of the app. # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command as a job ${AsJob}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Run the command asynchronously ${NoWait}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Az.Functions.private\Set-AzFunctionApp_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzFunctionApp_UpdateExpanded'; } if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Create or update an identity in the specified subscription and resource group. .Description Create or update an identity in the specified subscription and resource group. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated .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. PARAMETER <IIdentityAutoGenerated>: Describes an identity resource. Location <String>: The geo-location where the resource lives [Tag <ITrackedResourceTags>]: Resource tags. [(Any) <String>]: This indicates any property can be added to this object. .Link https://docs.microsoft.com/powershell/module/az.functions/set-azuserassignedidentity #> function Set-AzUserAssignedIdentity { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The name of the Resource Group to which the identity belongs. ${ResourceGroupName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The name of the identity resource. ${ResourceName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated] # Describes an identity resource. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # The geo-location where the resource lives ${Location}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.ITrackedResourceTags]))] [System.Collections.Hashtable] # Resource tags. ${Tag}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Az.Functions.private\Set-AzUserAssignedIdentity_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzUserAssignedIdentity_UpdateExpanded'; } if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Replaces the application settings of an app. .Description Description for Replaces the application settings of an app. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary .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. APPSETTING <IStringDictionary>: String dictionary resource. [Kind <String>]: Kind of resource. [Property <IStringDictionaryProperties>]: Settings. [(Any) <String>]: This indicates any property can be added to this object. .Link https://docs.microsoft.com/powershell/module/az.functions/set-azwebappapplicationsettingslot #> function Set-AzWebAppApplicationSettingSlot { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the deployment slot. # If a slot is not specified, the API will update the application settings for the production slot. ${Slot}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary] # String dictionary resource. # To construct, see NOTES section for APPSETTING properties and create a hash table. ${AppSetting}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${Kind}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionaryProperties]))] [System.Collections.Hashtable] # Settings. ${Property}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Az.Functions.private\Set-AzWebAppApplicationSettingSlot_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzWebAppApplicationSettingSlot_UpdateExpanded'; } if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Replaces the application settings of an app. .Description Description for Replaces the application settings of an app. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary .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. APPSETTING <IStringDictionary>: String dictionary resource. [Kind <String>]: Kind of resource. [Property <IStringDictionaryProperties>]: Settings. [(Any) <String>]: This indicates any property can be added to this object. .Link https://docs.microsoft.com/powershell/module/az.functions/set-azwebappapplicationsetting #> function Set-AzWebAppApplicationSetting { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionary] # String dictionary resource. # To construct, see NOTES section for APPSETTING properties and create a hash table. ${AppSetting}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${Kind}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStringDictionaryProperties]))] [System.Collections.Hashtable] # Settings. ${Property}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Az.Functions.private\Set-AzWebAppApplicationSetting_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzWebAppApplicationSetting_UpdateExpanded'; } if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Updates the configuration of an app. .Description Description for Updates the configuration of an app. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource .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. APPSETTING <INameValuePair[]>: Application settings. [Name <String>]: Pair name. [Value <String>]: Pair value. CONNECTIONSTRING <IConnStringInfo[]>: Connection strings. [ConnectionString <String>]: Connection string value. [Name <String>]: Name of connection string. [Type <ConnectionStringType?>]: Type of database. EXPERIMENTRAMPUPRULE <IRampUpRule[]>: List of ramp-up rules. [ActionHostName <String>]: Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. [ChangeDecisionCallbackUrl <String>]: Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/ [ChangeIntervalInMinute <Int32?>]: Specifies interval in minutes to reevaluate ReroutePercentage. [ChangeStep <Double?>]: In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches \n<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. [MaxReroutePercentage <Double?>]: Specifies upper boundary below which ReroutePercentage will stay. [MinReroutePercentage <Double?>]: Specifies lower boundary above which ReroutePercentage will stay. [Name <String>]: Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. [ReroutePercentage <Double?>]: Percentage of the traffic which will be redirected to <code>ActionHostName</code>. HANDLERMAPPING <IHandlerMapping[]>: Handler mappings. [Argument <String>]: Command-line arguments to be passed to the script processor. [Extension <String>]: Requests with this extension will be handled using the specified FastCGI application. [ScriptProcessor <String>]: The absolute path to the FastCGI application. IPSECURITYRESTRICTION <IIPSecurityRestriction[]>: IP security restrictions for main. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag SCMIPSECURITYRESTRICTION <IIPSecurityRestriction[]>: IP security restrictions for scm. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag SITECONFIG <ISiteConfigResource>: Web app configuration ARM resource. [Kind <String>]: Kind of resource. [ActionMinProcessExecutionTime <String>]: Minimum time the process must execute before taking the action [ActionType <AutoHealActionType?>]: Predefined action to be taken. [AlwaysOn <Boolean?>]: <code>true</code> if Always On is enabled; otherwise, <code>false</code>. [ApiDefinitionUrl <String>]: The URL of the API definition. [ApiManagementConfigId <String>]: APIM-Api Identifier. [AppCommandLine <String>]: App command line to launch. [AppSetting <INameValuePair[]>]: Application settings. [Name <String>]: Pair name. [Value <String>]: Pair value. [AutoHealEnabled <Boolean?>]: <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. [AutoSwapSlotName <String>]: Auto-swap slot name. [ConnectionString <IConnStringInfo[]>]: Connection strings. [ConnectionString <String>]: Connection string value. [Name <String>]: Name of connection string. [Type <ConnectionStringType?>]: Type of database. [CorAllowedOrigin <String[]>]: Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. [CorSupportCredentials <Boolean?>]: Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials for more details. [CustomActionExe <String>]: Executable to be run. [CustomActionParameter <String>]: Parameters for the executable. [DefaultDocument <String[]>]: Default documents. [DetailedErrorLoggingEnabled <Boolean?>]: <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. [DocumentRoot <String>]: Document root. [DynamicTagsJson <String>]: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. [ExperimentRampUpRule <IRampUpRule[]>]: List of ramp-up rules. [ActionHostName <String>]: Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. [ChangeDecisionCallbackUrl <String>]: Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/ [ChangeIntervalInMinute <Int32?>]: Specifies interval in minutes to reevaluate ReroutePercentage. [ChangeStep <Double?>]: In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches \n<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. [MaxReroutePercentage <Double?>]: Specifies upper boundary below which ReroutePercentage will stay. [MinReroutePercentage <Double?>]: Specifies lower boundary above which ReroutePercentage will stay. [Name <String>]: Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. [ReroutePercentage <Double?>]: Percentage of the traffic which will be redirected to <code>ActionHostName</code>. [FtpsState <FtpsState?>]: State of FTP / FTPS service [HandlerMapping <IHandlerMapping[]>]: Handler mappings. [Argument <String>]: Command-line arguments to be passed to the script processor. [Extension <String>]: Requests with this extension will be handled using the specified FastCGI application. [ScriptProcessor <String>]: The absolute path to the FastCGI application. [HealthCheckPath <String>]: Health check path [Http20Enabled <Boolean?>]: Http20Enabled: configures a web site to allow clients to connect over http2.0 [HttpLoggingEnabled <Boolean?>]: <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. [IPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for main. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag [IsPushEnabled <Boolean?>]: Gets or sets a flag indicating whether the Push endpoint is enabled. [JavaContainer <String>]: Java container. [JavaContainerVersion <String>]: Java container version. [JavaVersion <String>]: Java version. [LimitMaxDiskSizeInMb <Int64?>]: Maximum allowed disk size usage in MB. [LimitMaxMemoryInMb <Int64?>]: Maximum allowed memory usage in MB. [LimitMaxPercentageCpu <Double?>]: Maximum allowed CPU usage percentage. [LinuxFxVersion <String>]: Linux App Framework and version [LoadBalancing <SiteLoadBalancing?>]: Site load balancing. [LocalMySqlEnabled <Boolean?>]: <code>true</code> to enable local MySQL; otherwise, <code>false</code>. [LogsDirectorySizeLimit <Int32?>]: HTTP logs directory size limit. [MachineKeyDecryption <String>]: Algorithm used for decryption. [MachineKeyDecryptionKey <String>]: Decryption key. [MachineKeyValidation <String>]: MachineKey validation. [MachineKeyValidationKey <String>]: Validation key. [ManagedPipelineMode <ManagedPipelineMode?>]: Managed pipeline mode. [ManagedServiceIdentityId <Int32?>]: Managed Service Identity Id [MinTlsVersion <SupportedTlsVersions?>]: MinTlsVersion: configures the minimum version of TLS required for SSL requests [NetFrameworkVersion <String>]: .NET Framework version. [NodeVersion <String>]: Version of Node.js. [NumberOfWorker <Int32?>]: Number of workers. [PhpVersion <String>]: Version of PHP. [PowerShellVersion <String>]: Version of PowerShell. [PreWarmedInstanceCount <Int32?>]: Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans [PublishingUsername <String>]: Publishing user name. [PushKind <String>]: Kind of resource. [PythonVersion <String>]: Version of Python. [RemoteDebuggingEnabled <Boolean?>]: <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. [RemoteDebuggingVersion <String>]: Remote debugging version. [RequestCount <Int32?>]: Request Count. [RequestTimeInterval <String>]: Time interval. [RequestTracingEnabled <Boolean?>]: <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. [RequestTracingExpirationTime <DateTime?>]: Request tracing expiration time. [ScmIPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for scm. [ScmIPSecurityRestrictionsUseMain <Boolean?>]: IP security restrictions for scm to use main. [ScmType <ScmType?>]: SCM type. [SlowRequestCount <Int32?>]: Request Count. [SlowRequestTimeInterval <String>]: Time interval. [SlowRequestTimeTaken <String>]: Time taken. [TagWhitelistJson <String>]: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. [TagsRequiringAuth <String>]: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler. [TracingOption <String>]: Tracing options. [TriggerPrivateBytesInKb <Int32?>]: A rule based on private bytes. [TriggerStatusCode <IStatusCodesBasedTrigger[]>]: A rule based on status codes. [Count <Int32?>]: Request Count. [Status <Int32?>]: HTTP status code. [SubStatus <Int32?>]: Request Sub Status. [TimeInterval <String>]: Time interval. [Win32Status <Int32?>]: Win32 error code. [Use32BitWorkerProcess <Boolean?>]: <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. [VirtualApplication <IVirtualApplication[]>]: Virtual applications. [PhysicalPath <String>]: Physical path. [PreloadEnabled <Boolean?>]: <code>true</code> if preloading is enabled; otherwise, <code>false</code>. [VirtualDirectory <IVirtualDirectory[]>]: Virtual directories for virtual application. [PhysicalPath <String>]: Physical path. [VirtualPath <String>]: Path to virtual application. [VirtualPath <String>]: Virtual path. [VnetName <String>]: Virtual Network name. [WebSocketsEnabled <Boolean?>]: <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. [WindowsFxVersion <String>]: Xenon App Framework and version [XManagedServiceIdentityId <Int32?>]: Explicit Managed Service Identity Id TRIGGERSTATUSCODE <IStatusCodesBasedTrigger[]>: A rule based on status codes. [Count <Int32?>]: Request Count. [Status <Int32?>]: HTTP status code. [SubStatus <Int32?>]: Request Sub Status. [TimeInterval <String>]: Time interval. [Win32Status <Int32?>]: Win32 error code. VIRTUALAPPLICATION <IVirtualApplication[]>: Virtual applications. [PhysicalPath <String>]: Physical path. [PreloadEnabled <Boolean?>]: <code>true</code> if preloading is enabled; otherwise, <code>false</code>. [VirtualDirectory <IVirtualDirectory[]>]: Virtual directories for virtual application. [PhysicalPath <String>]: Physical path. [VirtualPath <String>]: Path to virtual application. [VirtualPath <String>]: Virtual path. .Link https://docs.microsoft.com/powershell/module/az.functions/set-azwebappconfigurationslot #> function Set-AzWebAppConfigurationSlot { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the deployment slot. # If a slot is not specified, the API will update configuration for the production slot. ${Slot}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource] # Web app configuration ARM resource. # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Minimum time the process must executebefore taking the action ${ActionMinProcessExecutionTime}, [Parameter(ParameterSetName='UpdateExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType] # Predefined action to be taken. ${ActionType}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if Always On is enabled; otherwise, <code>false</code>. ${AlwaysOn}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # The URL of the API definition. ${ApiDefinitionUrl}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # APIM-Api Identifier. ${ApiManagementConfigId}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # App command line to launch. ${AppCommandLine}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[]] # Application settings. # To construct, see NOTES section for APPSETTING properties and create a hash table. ${AppSetting}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. ${AutoHealEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Auto-swap slot name. ${AutoSwapSlotName}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[]] # Connection strings. # To construct, see NOTES section for CONNECTIONSTRING properties and create a hash table. ${ConnectionString}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String[]] # Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). # Use "*" to allow all. ${CorAllowedOrigin}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets whether CORS requests with credentials are allowed. # See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor more details. ${CorSupportCredentials}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Executable to be run. ${CustomActionExe}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Parameters for the executable. ${CustomActionParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String[]] # Default documents. ${DefaultDocument}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. ${DetailedErrorLoggingEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Document root. ${DocumentRoot}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. ${DynamicTagsJson}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[]] # List of ramp-up rules. # To construct, see NOTES section for EXPERIMENTRAMPUPRULE properties and create a hash table. ${ExperimentRampUpRule}, [Parameter(ParameterSetName='UpdateExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState] # State of FTP / FTPS service ${FtpsState}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[]] # Handler mappings. # To construct, see NOTES section for HANDLERMAPPING properties and create a hash table. ${HandlerMapping}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Health check path ${HealthCheckPath}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Http20Enabled: configures a web site to allow clients to connect over http2.0 ${Http20Enabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. ${HttpLoggingEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[]] # IP security restrictions for main. # To construct, see NOTES section for IPSECURITYRESTRICTION properties and create a hash table. ${IPSecurityRestriction}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a flag indicating whether the Push endpoint is enabled. ${IsPushEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Java container. ${JavaContainer}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Java container version. ${JavaContainerVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Java version. ${JavaVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${Kind}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int64] # Maximum allowed disk size usage in MB. ${LimitMaxDiskSizeInMb}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int64] # Maximum allowed memory usage in MB. ${LimitMaxMemoryInMb}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Double] # Maximum allowed CPU usage percentage. ${LimitMaxPercentageCpu}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Linux App Framework and version ${LinuxFxVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing] # Site load balancing. ${LoadBalancing}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to enable local MySQL; otherwise, <code>false</code>. ${LocalMySqlEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # HTTP logs directory size limit. ${LogsDirectorySizeLimit}, [Parameter(ParameterSetName='UpdateExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode] # Managed pipeline mode. ${ManagedPipelineMode}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Managed Service Identity Id ${ManagedServiceIdentityId}, [Parameter(ParameterSetName='UpdateExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions] # MinTlsVersion: configures the minimum version of TLS required for SSL requests ${MinTlsVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # .NET Framework version. ${NetFrameworkVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of Node.js. ${NodeVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Number of workers. ${NumberOfWorker}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of PHP. ${PhpVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of PowerShell. ${PowerShellVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans ${PreWarmedInstanceCount}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Publishing user name. ${PublishingUsername}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${PushKind}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of Python. ${PythonVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. ${RemoteDebuggingEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Remote debugging version. ${RemoteDebuggingVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Request Count. ${RequestCount}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Time interval. ${RequestTimeInterval}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. ${RequestTracingEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.DateTime] # Request tracing expiration time. ${RequestTracingExpirationTime}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[]] # IP security restrictions for scm. # To construct, see NOTES section for SCMIPSECURITYRESTRICTION properties and create a hash table. ${ScmIPSecurityRestriction}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # IP security restrictions for scm to use main. ${ScmIPSecurityRestrictionsUseMain}, [Parameter(ParameterSetName='UpdateExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType] # SCM type. ${ScmType}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Request Count. ${SlowRequestCount}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Time interval. ${SlowRequestTimeInterval}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Time taken. ${SlowRequestTimeTaken}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. ${TagWhitelistJson}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.Tags can consist of alphanumeric characters and the following:'_', '@', '#', '.', ':', '-'. # Validation should be performed at the PushRequestHandler. ${TagsRequiringAuth}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Tracing options. ${TracingOption}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # A rule based on private bytes. ${TriggerPrivateBytesInKb}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[]] # A rule based on status codes. # To construct, see NOTES section for TRIGGERSTATUSCODE properties and create a hash table. ${TriggerStatusCode}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. ${Use32BitWorkerProcess}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[]] # Virtual applications. # To construct, see NOTES section for VIRTUALAPPLICATION properties and create a hash table. ${VirtualApplication}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Virtual Network name. ${VnetName}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. ${WebSocketsEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Xenon App Framework and version ${WindowsFxVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Explicit Managed Service Identity Id ${XManagedServiceIdentityId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Az.Functions.private\Set-AzWebAppConfigurationSlot_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzWebAppConfigurationSlot_UpdateExpanded'; } if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Updates the configuration of an app. .Description Description for Updates the configuration of an app. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource .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. APPSETTING <INameValuePair[]>: Application settings. [Name <String>]: Pair name. [Value <String>]: Pair value. CONNECTIONSTRING <IConnStringInfo[]>: Connection strings. [ConnectionString <String>]: Connection string value. [Name <String>]: Name of connection string. [Type <ConnectionStringType?>]: Type of database. EXPERIMENTRAMPUPRULE <IRampUpRule[]>: List of ramp-up rules. [ActionHostName <String>]: Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. [ChangeDecisionCallbackUrl <String>]: Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/ [ChangeIntervalInMinute <Int32?>]: Specifies interval in minutes to reevaluate ReroutePercentage. [ChangeStep <Double?>]: In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches \n<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. [MaxReroutePercentage <Double?>]: Specifies upper boundary below which ReroutePercentage will stay. [MinReroutePercentage <Double?>]: Specifies lower boundary above which ReroutePercentage will stay. [Name <String>]: Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. [ReroutePercentage <Double?>]: Percentage of the traffic which will be redirected to <code>ActionHostName</code>. HANDLERMAPPING <IHandlerMapping[]>: Handler mappings. [Argument <String>]: Command-line arguments to be passed to the script processor. [Extension <String>]: Requests with this extension will be handled using the specified FastCGI application. [ScriptProcessor <String>]: The absolute path to the FastCGI application. IPSECURITYRESTRICTION <IIPSecurityRestriction[]>: IP security restrictions for main. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag SCMIPSECURITYRESTRICTION <IIPSecurityRestriction[]>: IP security restrictions for scm. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag SITECONFIG <ISiteConfigResource>: Web app configuration ARM resource. [Kind <String>]: Kind of resource. [ActionMinProcessExecutionTime <String>]: Minimum time the process must execute before taking the action [ActionType <AutoHealActionType?>]: Predefined action to be taken. [AlwaysOn <Boolean?>]: <code>true</code> if Always On is enabled; otherwise, <code>false</code>. [ApiDefinitionUrl <String>]: The URL of the API definition. [ApiManagementConfigId <String>]: APIM-Api Identifier. [AppCommandLine <String>]: App command line to launch. [AppSetting <INameValuePair[]>]: Application settings. [Name <String>]: Pair name. [Value <String>]: Pair value. [AutoHealEnabled <Boolean?>]: <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. [AutoSwapSlotName <String>]: Auto-swap slot name. [ConnectionString <IConnStringInfo[]>]: Connection strings. [ConnectionString <String>]: Connection string value. [Name <String>]: Name of connection string. [Type <ConnectionStringType?>]: Type of database. [CorAllowedOrigin <String[]>]: Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. [CorSupportCredentials <Boolean?>]: Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials for more details. [CustomActionExe <String>]: Executable to be run. [CustomActionParameter <String>]: Parameters for the executable. [DefaultDocument <String[]>]: Default documents. [DetailedErrorLoggingEnabled <Boolean?>]: <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. [DocumentRoot <String>]: Document root. [DynamicTagsJson <String>]: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. [ExperimentRampUpRule <IRampUpRule[]>]: List of ramp-up rules. [ActionHostName <String>]: Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. [ChangeDecisionCallbackUrl <String>]: Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/ [ChangeIntervalInMinute <Int32?>]: Specifies interval in minutes to reevaluate ReroutePercentage. [ChangeStep <Double?>]: In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches \n<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. [MaxReroutePercentage <Double?>]: Specifies upper boundary below which ReroutePercentage will stay. [MinReroutePercentage <Double?>]: Specifies lower boundary above which ReroutePercentage will stay. [Name <String>]: Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. [ReroutePercentage <Double?>]: Percentage of the traffic which will be redirected to <code>ActionHostName</code>. [FtpsState <FtpsState?>]: State of FTP / FTPS service [HandlerMapping <IHandlerMapping[]>]: Handler mappings. [Argument <String>]: Command-line arguments to be passed to the script processor. [Extension <String>]: Requests with this extension will be handled using the specified FastCGI application. [ScriptProcessor <String>]: The absolute path to the FastCGI application. [HealthCheckPath <String>]: Health check path [Http20Enabled <Boolean?>]: Http20Enabled: configures a web site to allow clients to connect over http2.0 [HttpLoggingEnabled <Boolean?>]: <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. [IPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for main. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag [IsPushEnabled <Boolean?>]: Gets or sets a flag indicating whether the Push endpoint is enabled. [JavaContainer <String>]: Java container. [JavaContainerVersion <String>]: Java container version. [JavaVersion <String>]: Java version. [LimitMaxDiskSizeInMb <Int64?>]: Maximum allowed disk size usage in MB. [LimitMaxMemoryInMb <Int64?>]: Maximum allowed memory usage in MB. [LimitMaxPercentageCpu <Double?>]: Maximum allowed CPU usage percentage. [LinuxFxVersion <String>]: Linux App Framework and version [LoadBalancing <SiteLoadBalancing?>]: Site load balancing. [LocalMySqlEnabled <Boolean?>]: <code>true</code> to enable local MySQL; otherwise, <code>false</code>. [LogsDirectorySizeLimit <Int32?>]: HTTP logs directory size limit. [MachineKeyDecryption <String>]: Algorithm used for decryption. [MachineKeyDecryptionKey <String>]: Decryption key. [MachineKeyValidation <String>]: MachineKey validation. [MachineKeyValidationKey <String>]: Validation key. [ManagedPipelineMode <ManagedPipelineMode?>]: Managed pipeline mode. [ManagedServiceIdentityId <Int32?>]: Managed Service Identity Id [MinTlsVersion <SupportedTlsVersions?>]: MinTlsVersion: configures the minimum version of TLS required for SSL requests [NetFrameworkVersion <String>]: .NET Framework version. [NodeVersion <String>]: Version of Node.js. [NumberOfWorker <Int32?>]: Number of workers. [PhpVersion <String>]: Version of PHP. [PowerShellVersion <String>]: Version of PowerShell. [PreWarmedInstanceCount <Int32?>]: Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans [PublishingUsername <String>]: Publishing user name. [PushKind <String>]: Kind of resource. [PythonVersion <String>]: Version of Python. [RemoteDebuggingEnabled <Boolean?>]: <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. [RemoteDebuggingVersion <String>]: Remote debugging version. [RequestCount <Int32?>]: Request Count. [RequestTimeInterval <String>]: Time interval. [RequestTracingEnabled <Boolean?>]: <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. [RequestTracingExpirationTime <DateTime?>]: Request tracing expiration time. [ScmIPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for scm. [ScmIPSecurityRestrictionsUseMain <Boolean?>]: IP security restrictions for scm to use main. [ScmType <ScmType?>]: SCM type. [SlowRequestCount <Int32?>]: Request Count. [SlowRequestTimeInterval <String>]: Time interval. [SlowRequestTimeTaken <String>]: Time taken. [TagWhitelistJson <String>]: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. [TagsRequiringAuth <String>]: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler. [TracingOption <String>]: Tracing options. [TriggerPrivateBytesInKb <Int32?>]: A rule based on private bytes. [TriggerStatusCode <IStatusCodesBasedTrigger[]>]: A rule based on status codes. [Count <Int32?>]: Request Count. [Status <Int32?>]: HTTP status code. [SubStatus <Int32?>]: Request Sub Status. [TimeInterval <String>]: Time interval. [Win32Status <Int32?>]: Win32 error code. [Use32BitWorkerProcess <Boolean?>]: <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. [VirtualApplication <IVirtualApplication[]>]: Virtual applications. [PhysicalPath <String>]: Physical path. [PreloadEnabled <Boolean?>]: <code>true</code> if preloading is enabled; otherwise, <code>false</code>. [VirtualDirectory <IVirtualDirectory[]>]: Virtual directories for virtual application. [PhysicalPath <String>]: Physical path. [VirtualPath <String>]: Path to virtual application. [VirtualPath <String>]: Virtual path. [VnetName <String>]: Virtual Network name. [WebSocketsEnabled <Boolean?>]: <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. [WindowsFxVersion <String>]: Xenon App Framework and version [XManagedServiceIdentityId <Int32?>]: Explicit Managed Service Identity Id TRIGGERSTATUSCODE <IStatusCodesBasedTrigger[]>: A rule based on status codes. [Count <Int32?>]: Request Count. [Status <Int32?>]: HTTP status code. [SubStatus <Int32?>]: Request Sub Status. [TimeInterval <String>]: Time interval. [Win32Status <Int32?>]: Win32 error code. VIRTUALAPPLICATION <IVirtualApplication[]>: Virtual applications. [PhysicalPath <String>]: Physical path. [PreloadEnabled <Boolean?>]: <code>true</code> if preloading is enabled; otherwise, <code>false</code>. [VirtualDirectory <IVirtualDirectory[]>]: Virtual directories for virtual application. [PhysicalPath <String>]: Physical path. [VirtualPath <String>]: Path to virtual application. [VirtualPath <String>]: Virtual path. .Link https://docs.microsoft.com/powershell/module/az.functions/set-azwebappconfiguration #> function Set-AzWebAppConfiguration { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource] # Web app configuration ARM resource. # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Minimum time the process must executebefore taking the action ${ActionMinProcessExecutionTime}, [Parameter(ParameterSetName='UpdateExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType] # Predefined action to be taken. ${ActionType}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if Always On is enabled; otherwise, <code>false</code>. ${AlwaysOn}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # The URL of the API definition. ${ApiDefinitionUrl}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # APIM-Api Identifier. ${ApiManagementConfigId}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # App command line to launch. ${AppCommandLine}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[]] # Application settings. # To construct, see NOTES section for APPSETTING properties and create a hash table. ${AppSetting}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. ${AutoHealEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Auto-swap slot name. ${AutoSwapSlotName}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[]] # Connection strings. # To construct, see NOTES section for CONNECTIONSTRING properties and create a hash table. ${ConnectionString}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String[]] # Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). # Use "*" to allow all. ${CorAllowedOrigin}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets whether CORS requests with credentials are allowed. # See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor more details. ${CorSupportCredentials}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Executable to be run. ${CustomActionExe}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Parameters for the executable. ${CustomActionParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String[]] # Default documents. ${DefaultDocument}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. ${DetailedErrorLoggingEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Document root. ${DocumentRoot}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. ${DynamicTagsJson}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[]] # List of ramp-up rules. # To construct, see NOTES section for EXPERIMENTRAMPUPRULE properties and create a hash table. ${ExperimentRampUpRule}, [Parameter(ParameterSetName='UpdateExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState] # State of FTP / FTPS service ${FtpsState}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[]] # Handler mappings. # To construct, see NOTES section for HANDLERMAPPING properties and create a hash table. ${HandlerMapping}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Health check path ${HealthCheckPath}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Http20Enabled: configures a web site to allow clients to connect over http2.0 ${Http20Enabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. ${HttpLoggingEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[]] # IP security restrictions for main. # To construct, see NOTES section for IPSECURITYRESTRICTION properties and create a hash table. ${IPSecurityRestriction}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a flag indicating whether the Push endpoint is enabled. ${IsPushEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Java container. ${JavaContainer}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Java container version. ${JavaContainerVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Java version. ${JavaVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${Kind}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int64] # Maximum allowed disk size usage in MB. ${LimitMaxDiskSizeInMb}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int64] # Maximum allowed memory usage in MB. ${LimitMaxMemoryInMb}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Double] # Maximum allowed CPU usage percentage. ${LimitMaxPercentageCpu}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Linux App Framework and version ${LinuxFxVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing] # Site load balancing. ${LoadBalancing}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to enable local MySQL; otherwise, <code>false</code>. ${LocalMySqlEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # HTTP logs directory size limit. ${LogsDirectorySizeLimit}, [Parameter(ParameterSetName='UpdateExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode] # Managed pipeline mode. ${ManagedPipelineMode}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Managed Service Identity Id ${ManagedServiceIdentityId}, [Parameter(ParameterSetName='UpdateExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions] # MinTlsVersion: configures the minimum version of TLS required for SSL requests ${MinTlsVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # .NET Framework version. ${NetFrameworkVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of Node.js. ${NodeVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Number of workers. ${NumberOfWorker}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of PHP. ${PhpVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of PowerShell. ${PowerShellVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans ${PreWarmedInstanceCount}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Publishing user name. ${PublishingUsername}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${PushKind}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of Python. ${PythonVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. ${RemoteDebuggingEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Remote debugging version. ${RemoteDebuggingVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Request Count. ${RequestCount}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Time interval. ${RequestTimeInterval}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. ${RequestTracingEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.DateTime] # Request tracing expiration time. ${RequestTracingExpirationTime}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[]] # IP security restrictions for scm. # To construct, see NOTES section for SCMIPSECURITYRESTRICTION properties and create a hash table. ${ScmIPSecurityRestriction}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # IP security restrictions for scm to use main. ${ScmIPSecurityRestrictionsUseMain}, [Parameter(ParameterSetName='UpdateExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType] # SCM type. ${ScmType}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Request Count. ${SlowRequestCount}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Time interval. ${SlowRequestTimeInterval}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Time taken. ${SlowRequestTimeTaken}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. ${TagWhitelistJson}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.Tags can consist of alphanumeric characters and the following:'_', '@', '#', '.', ':', '-'. # Validation should be performed at the PushRequestHandler. ${TagsRequiringAuth}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Tracing options. ${TracingOption}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # A rule based on private bytes. ${TriggerPrivateBytesInKb}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[]] # A rule based on status codes. # To construct, see NOTES section for TRIGGERSTATUSCODE properties and create a hash table. ${TriggerStatusCode}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. ${Use32BitWorkerProcess}, [Parameter(ParameterSetName='UpdateExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[]] # Virtual applications. # To construct, see NOTES section for VIRTUALAPPLICATION properties and create a hash table. ${VirtualApplication}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Virtual Network name. ${VnetName}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. ${WebSocketsEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Xenon App Framework and version ${WindowsFxVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Explicit Managed Service Identity Id ${XManagedServiceIdentityId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Az.Functions.private\Set-AzWebAppConfiguration_Update'; UpdateExpanded = 'Az.Functions.private\Set-AzWebAppConfiguration_UpdateExpanded'; } if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Starts an app (or deployment slot, if specified). .Description Description for Starts an app (or deployment slot, if specified). .Example PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Start-AzFunctionApp .Example PS C:\> Start-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs System.Boolean .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/start-azfunctionapp #> function Start-AzFunctionApp { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Start', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Start', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(ParameterSetName='Start', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Start')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='StartViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Start = 'Az.Functions.private\Start-AzFunctionApp_Start'; StartViaIdentity = 'Az.Functions.private\Start-AzFunctionApp_StartViaIdentity'; } if (('Start') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Stops an app (or deployment slot, if specified). .Description Description for Stops an app (or deployment slot, if specified). .Example PS C:\> Get-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName | Stop-AzFunctionApp -Force .Example PS C:\> Stop-AzFunctionApp -Name MyAppName -ResourceGroupName MyResourceGroupName -Force .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs System.Boolean .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/stop-azfunctionapp #> function Stop-AzFunctionApp { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Stop', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Stop', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(ParameterSetName='Stop', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Stop')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='StopViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Stop = 'Az.Functions.private\Stop-AzFunctionApp_Stop'; StopViaIdentity = 'Az.Functions.private\Stop-AzFunctionApp_StopViaIdentity'; } if (('Stop') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Syncs function trigger metadata to the management database .Description Description for Syncs function trigger metadata to the management database .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs System.Boolean .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/sync-azfunction #> function Sync-AzFunction { [OutputType([System.Boolean])] [CmdletBinding(DefaultParameterSetName='Sync', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Sync', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${FunctionAppName}, [Parameter(ParameterSetName='Sync', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Sync')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='SyncViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Returns true when the command succeeds ${PassThru}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Sync = 'Az.Functions.private\Sync-AzFunction_Sync'; SyncViaIdentity = 'Az.Functions.private\Sync-AzFunction_SyncViaIdentity'; } if (('Sync') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Check if a resource name is available. .Description Description for Check if a resource name is available. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceNameAvailabilityRequest .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceNameAvailability .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. REQUEST <IResourceNameAvailabilityRequest>: Resource name availability request content. Name <String>: Resource name to verify. Type <CheckNameResourceTypes>: Resource type used for verification. [IsFqdn <Boolean?>]: Is fully qualified domain name. .Link https://docs.microsoft.com/powershell/module/az.functions/test-aznameavailability #> function Test-AzNameAvailability { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceNameAvailability])] [CmdletBinding(DefaultParameterSetName='CheckExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Check')] [Parameter(ParameterSetName='CheckExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='CheckViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CheckViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Check', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='CheckViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IResourceNameAvailabilityRequest] # Resource name availability request content. # To construct, see NOTES section for REQUEST properties and create a hash table. ${Request}, [Parameter(ParameterSetName='CheckExpanded', Mandatory)] [Parameter(ParameterSetName='CheckViaIdentityExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Resource name to verify. ${Name}, [Parameter(ParameterSetName='CheckExpanded', Mandatory)] [Parameter(ParameterSetName='CheckViaIdentityExpanded', Mandatory)] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CheckNameResourceTypes])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.CheckNameResourceTypes] # Resource type used for verification. ${Type}, [Parameter(ParameterSetName='CheckExpanded')] [Parameter(ParameterSetName='CheckViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Is fully qualified domain name. ${IsFqdn}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Check = 'Az.Functions.private\Test-AzNameAvailability_Check'; CheckExpanded = 'Az.Functions.private\Test-AzNameAvailability_CheckExpanded'; CheckViaIdentity = 'Az.Functions.private\Test-AzNameAvailability_CheckViaIdentity'; CheckViaIdentityExpanded = 'Az.Functions.private\Test-AzNameAvailability_CheckViaIdentityExpanded'; } if (('Check', 'CheckExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Creates or updates an App Service Plan. .Description Description for Creates or updates an App Service Plan. .Example PS C:\> Update-AzFunctionAppPlan -ResourceGroupName MyResourceGroupName ` -Name MyPremiumPlan ` -MaximumWorkerCount 20 ` -Sku EP2 ` -Force .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlanPatchResource .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan .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. APPSERVICEPLAN <IAppServicePlanPatchResource>: ARM resource for a app service plan. [Kind <String>]: Kind of resource. [FreeOfferExpirationTime <DateTime?>]: The time when the server farm free offer expires. [HostingEnvironmentProfileId <String>]: Resource ID of the App Service Environment. [HyperV <Boolean?>]: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. [IsSpot <Boolean?>]: If <code>true</code>, this App Service Plan owns spot instances. [IsXenon <Boolean?>]: Obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. [MaximumElasticWorkerCount <Int32?>]: Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan [PerSiteScaling <Boolean?>]: If <code>true</code>, apps assigned to this App Service plan can be scaled independently. If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. [Reserved <Boolean?>]: If Linux app service plan <code>true</code>, <code>false</code> otherwise. [SpotExpirationTime <DateTime?>]: The time when the server farm expires. Valid only if it is a spot server farm. [TargetWorkerCount <Int32?>]: Scaling worker count. [TargetWorkerSizeId <Int32?>]: Scaling worker size ID. [WorkerTierName <String>]: Target worker tier assigned to the App Service plan. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. .Link https://docs.microsoft.com/powershell/module/az.functions/update-azfunctionappplan #> function Update-AzFunctionAppPlan { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlan])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the App Service plan. ${Name}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Update')] [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IAppServicePlanPatchResource] # ARM resource for a app service plan. # To construct, see NOTES section for APPSERVICEPLAN properties and create a hash table. ${AppServicePlan}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.DateTime] # The time when the server farm free offer expires. ${FreeOfferExpirationTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Resource ID of the App Service Environment. ${HostingEnvironmentProfileId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. ${HyperV}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # If <code>true</code>, this App Service Plan owns spot instances. ${IsSpot}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Obsolete: If Hyper-V container app service plan <code>true</code>, <code>false</code> otherwise. ${IsXenon}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${Kind}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Maximum number of total workers allowed for this ElasticScaleEnabled App Service Plan ${MaximumElasticWorkerCount}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # If <code>true</code>, apps assigned to this App Service plan can be scaled independently.If <code>false</code>, apps assigned to this App Service plan will scale to all instances of the plan. ${PerSiteScaling}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # If Linux app service plan <code>true</code>, <code>false</code> otherwise. ${Reserved}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.DateTime] # The time when the server farm expires. # Valid only if it is a spot server farm. ${SpotExpirationTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Scaling worker count. ${TargetWorkerCount}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Scaling worker size ID. ${TargetWorkerSizeId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Target worker tier assigned to the App Service plan. ${WorkerTierName}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Az.Functions.private\Update-AzFunctionAppPlan_Update'; UpdateExpanded = 'Az.Functions.private\Update-AzFunctionAppPlan_UpdateExpanded'; UpdateViaIdentity = 'Az.Functions.private\Update-AzFunctionAppPlan_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Az.Functions.private\Update-AzFunctionAppPlan_UpdateViaIdentityExpanded'; } if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. .Description Description for Creates a new web, mobile, or API app in an existing resource group, or updates an existing app. .Example PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -PlanName NewPlanName -Force .Example PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType SystemAssigned -Force .Example PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -ApplicationInsightsName ApplicationInsightsProjectName -Force .Example PS C:\> Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType None -Force .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISitePatchResource .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite .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. HOSTNAMESSLSTATE <IHostNameSslState[]>: Hostname SSL states are used to manage the SSL bindings for app's hostnames. [HostType <HostType?>]: Indicates whether the hostname is a standard or repository hostname. [Name <String>]: Hostname. [SslState <SslState?>]: SSL type. [Thumbprint <String>]: SSL certificate thumbprint. [ToUpdate <Boolean?>]: Set to <code>true</code> to update existing hostname. [VirtualIP <String>]: Virtual IP address assigned to the hostname if IP based SSL is enabled. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. SITECONFIG <ISiteConfig>: Configuration of the app. [ActionMinProcessExecutionTime <String>]: Minimum time the process must execute before taking the action [ActionType <AutoHealActionType?>]: Predefined action to be taken. [AlwaysOn <Boolean?>]: <code>true</code> if Always On is enabled; otherwise, <code>false</code>. [ApiDefinitionUrl <String>]: The URL of the API definition. [ApiManagementConfigId <String>]: APIM-Api Identifier. [AppCommandLine <String>]: App command line to launch. [AppSetting <INameValuePair[]>]: Application settings. [Name <String>]: Pair name. [Value <String>]: Pair value. [AutoHealEnabled <Boolean?>]: <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. [AutoSwapSlotName <String>]: Auto-swap slot name. [ConnectionString <IConnStringInfo[]>]: Connection strings. [ConnectionString <String>]: Connection string value. [Name <String>]: Name of connection string. [Type <ConnectionStringType?>]: Type of database. [CorAllowedOrigin <String[]>]: Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. [CorSupportCredentials <Boolean?>]: Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials for more details. [CustomActionExe <String>]: Executable to be run. [CustomActionParameter <String>]: Parameters for the executable. [DefaultDocument <String[]>]: Default documents. [DetailedErrorLoggingEnabled <Boolean?>]: <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. [DocumentRoot <String>]: Document root. [DynamicTagsJson <String>]: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. [ExperimentRampUpRule <IRampUpRule[]>]: List of ramp-up rules. [ActionHostName <String>]: Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. [ChangeDecisionCallbackUrl <String>]: Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/ [ChangeIntervalInMinute <Int32?>]: Specifies interval in minutes to reevaluate ReroutePercentage. [ChangeStep <Double?>]: In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches \n<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. [MaxReroutePercentage <Double?>]: Specifies upper boundary below which ReroutePercentage will stay. [MinReroutePercentage <Double?>]: Specifies lower boundary above which ReroutePercentage will stay. [Name <String>]: Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. [ReroutePercentage <Double?>]: Percentage of the traffic which will be redirected to <code>ActionHostName</code>. [FtpsState <FtpsState?>]: State of FTP / FTPS service [HandlerMapping <IHandlerMapping[]>]: Handler mappings. [Argument <String>]: Command-line arguments to be passed to the script processor. [Extension <String>]: Requests with this extension will be handled using the specified FastCGI application. [ScriptProcessor <String>]: The absolute path to the FastCGI application. [HealthCheckPath <String>]: Health check path [Http20Enabled <Boolean?>]: Http20Enabled: configures a web site to allow clients to connect over http2.0 [HttpLoggingEnabled <Boolean?>]: <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. [IPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for main. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag [IsPushEnabled <Boolean?>]: Gets or sets a flag indicating whether the Push endpoint is enabled. [JavaContainer <String>]: Java container. [JavaContainerVersion <String>]: Java container version. [JavaVersion <String>]: Java version. [LimitMaxDiskSizeInMb <Int64?>]: Maximum allowed disk size usage in MB. [LimitMaxMemoryInMb <Int64?>]: Maximum allowed memory usage in MB. [LimitMaxPercentageCpu <Double?>]: Maximum allowed CPU usage percentage. [LinuxFxVersion <String>]: Linux App Framework and version [LoadBalancing <SiteLoadBalancing?>]: Site load balancing. [LocalMySqlEnabled <Boolean?>]: <code>true</code> to enable local MySQL; otherwise, <code>false</code>. [LogsDirectorySizeLimit <Int32?>]: HTTP logs directory size limit. [MachineKeyDecryption <String>]: Algorithm used for decryption. [MachineKeyDecryptionKey <String>]: Decryption key. [MachineKeyValidation <String>]: MachineKey validation. [MachineKeyValidationKey <String>]: Validation key. [ManagedPipelineMode <ManagedPipelineMode?>]: Managed pipeline mode. [ManagedServiceIdentityId <Int32?>]: Managed Service Identity Id [MinTlsVersion <SupportedTlsVersions?>]: MinTlsVersion: configures the minimum version of TLS required for SSL requests [NetFrameworkVersion <String>]: .NET Framework version. [NodeVersion <String>]: Version of Node.js. [NumberOfWorker <Int32?>]: Number of workers. [PhpVersion <String>]: Version of PHP. [PowerShellVersion <String>]: Version of PowerShell. [PreWarmedInstanceCount <Int32?>]: Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans [PublishingUsername <String>]: Publishing user name. [PushKind <String>]: Kind of resource. [PythonVersion <String>]: Version of Python. [RemoteDebuggingEnabled <Boolean?>]: <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. [RemoteDebuggingVersion <String>]: Remote debugging version. [RequestCount <Int32?>]: Request Count. [RequestTimeInterval <String>]: Time interval. [RequestTracingEnabled <Boolean?>]: <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. [RequestTracingExpirationTime <DateTime?>]: Request tracing expiration time. [ScmIPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for scm. [ScmIPSecurityRestrictionsUseMain <Boolean?>]: IP security restrictions for scm to use main. [ScmType <ScmType?>]: SCM type. [SlowRequestCount <Int32?>]: Request Count. [SlowRequestTimeInterval <String>]: Time interval. [SlowRequestTimeTaken <String>]: Time taken. [TagWhitelistJson <String>]: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. [TagsRequiringAuth <String>]: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler. [TracingOption <String>]: Tracing options. [TriggerPrivateBytesInKb <Int32?>]: A rule based on private bytes. [TriggerStatusCode <IStatusCodesBasedTrigger[]>]: A rule based on status codes. [Count <Int32?>]: Request Count. [Status <Int32?>]: HTTP status code. [SubStatus <Int32?>]: Request Sub Status. [TimeInterval <String>]: Time interval. [Win32Status <Int32?>]: Win32 error code. [Use32BitWorkerProcess <Boolean?>]: <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. [VirtualApplication <IVirtualApplication[]>]: Virtual applications. [PhysicalPath <String>]: Physical path. [PreloadEnabled <Boolean?>]: <code>true</code> if preloading is enabled; otherwise, <code>false</code>. [VirtualDirectory <IVirtualDirectory[]>]: Virtual directories for virtual application. [PhysicalPath <String>]: Physical path. [VirtualPath <String>]: Path to virtual application. [VirtualPath <String>]: Virtual path. [VnetName <String>]: Virtual Network name. [WebSocketsEnabled <Boolean?>]: <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. [WindowsFxVersion <String>]: Xenon App Framework and version [XManagedServiceIdentityId <Int32?>]: Explicit Managed Service Identity Id SITEENVELOPE <ISitePatchResource>: ARM resource for a site. [Kind <String>]: Kind of resource. [ClientAffinityEnabled <Boolean?>]: <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. Default is <code>true</code>. [ClientCertEnabled <Boolean?>]: <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. Default is <code>false</code>. [ClientCertExclusionPath <String>]: client certificate authentication comma-separated exclusion paths [CloningInfoAppSettingsOverride <ICloningInfoAppSettingsOverrides>]: Application setting overrides for cloned app. If specified, these settings override the settings cloned from source app. Otherwise, application settings from source app are retained. [(Any) <String>]: This indicates any property can be added to this object. [CloningInfoCloneCustomHostName <Boolean?>]: <code>true</code> to clone custom hostnames from source app; otherwise, <code>false</code>. [CloningInfoCloneSourceControl <Boolean?>]: <code>true</code> to clone source control from source app; otherwise, <code>false</code>. [CloningInfoConfigureLoadBalancing <Boolean?>]: <code>true</code> to configure load balancing for source and destination app. [CloningInfoCorrelationId <String>]: Correlation ID of cloning operation. This ID ties multiple cloning operations together to use the same snapshot. [CloningInfoHostingEnvironment <String>]: App Service Environment. [CloningInfoOverwrite <Boolean?>]: <code>true</code> to overwrite destination app; otherwise, <code>false</code>. [CloningInfoSourceWebAppId <String>]: ARM resource ID of the source app. App resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. [CloningInfoSourceWebAppLocation <String>]: Location of source app ex: West US or North Europe [CloningInfoTrafficManagerProfileId <String>]: ARM resource ID of the Traffic Manager profile to use, if it exists. Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. [CloningInfoTrafficManagerProfileName <String>]: Name of Traffic Manager profile to create. This is only needed if Traffic Manager profile does not already exist. [ContainerSize <Int32?>]: Size of the function container. [DailyMemoryTimeQuota <Int32?>]: Maximum allowed daily memory-time quota (applicable on dynamic apps only). [Enabled <Boolean?>]: <code>true</code> if the app is enabled; otherwise, <code>false</code>. Setting this value to false disables the app (takes the app offline). [HostNameSslState <IHostNameSslState[]>]: Hostname SSL states are used to manage the SSL bindings for app's hostnames. [HostType <HostType?>]: Indicates whether the hostname is a standard or repository hostname. [Name <String>]: Hostname. [SslState <SslState?>]: SSL type. [Thumbprint <String>]: SSL certificate thumbprint. [ToUpdate <Boolean?>]: Set to <code>true</code> to update existing hostname. [VirtualIP <String>]: Virtual IP address assigned to the hostname if IP based SSL is enabled. [HostNamesDisabled <Boolean?>]: <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. If <code>true</code>, the app is only accessible via API management process. [HostingEnvironmentProfileId <String>]: Resource ID of the App Service Environment. [HttpsOnly <Boolean?>]: HttpsOnly: configures a web site to accept only https requests. Issues redirect for http requests [HyperV <Boolean?>]: Hyper-V sandbox. [IdentityType <ManagedServiceIdentityType?>]: Type of managed service identity. [IdentityUserAssignedIdentity <IManagedServiceIdentityUserAssignedIdentities>]: 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} [(Any) <IComponents1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties>]: This indicates any property can be added to this object. [IsXenon <Boolean?>]: Obsolete: Hyper-V sandbox. [RedundancyMode <RedundancyMode?>]: Site redundancy mode [Reserved <Boolean?>]: <code>true</code> if reserved; otherwise, <code>false</code>. [ScmSiteAlsoStopped <Boolean?>]: <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. The default is <code>false</code>. [ServerFarmId <String>]: Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". [SiteConfig <ISiteConfig>]: Configuration of the app. [ActionMinProcessExecutionTime <String>]: Minimum time the process must execute before taking the action [ActionType <AutoHealActionType?>]: Predefined action to be taken. [AlwaysOn <Boolean?>]: <code>true</code> if Always On is enabled; otherwise, <code>false</code>. [ApiDefinitionUrl <String>]: The URL of the API definition. [ApiManagementConfigId <String>]: APIM-Api Identifier. [AppCommandLine <String>]: App command line to launch. [AppSetting <INameValuePair[]>]: Application settings. [Name <String>]: Pair name. [Value <String>]: Pair value. [AutoHealEnabled <Boolean?>]: <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. [AutoSwapSlotName <String>]: Auto-swap slot name. [ConnectionString <IConnStringInfo[]>]: Connection strings. [ConnectionString <String>]: Connection string value. [Name <String>]: Name of connection string. [Type <ConnectionStringType?>]: Type of database. [CorAllowedOrigin <String[]>]: Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. [CorSupportCredentials <Boolean?>]: Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials for more details. [CustomActionExe <String>]: Executable to be run. [CustomActionParameter <String>]: Parameters for the executable. [DefaultDocument <String[]>]: Default documents. [DetailedErrorLoggingEnabled <Boolean?>]: <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. [DocumentRoot <String>]: Document root. [DynamicTagsJson <String>]: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. [ExperimentRampUpRule <IRampUpRule[]>]: List of ramp-up rules. [ActionHostName <String>]: Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. [ChangeDecisionCallbackUrl <String>]: Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/ [ChangeIntervalInMinute <Int32?>]: Specifies interval in minutes to reevaluate ReroutePercentage. [ChangeStep <Double?>]: In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches \n<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. [MaxReroutePercentage <Double?>]: Specifies upper boundary below which ReroutePercentage will stay. [MinReroutePercentage <Double?>]: Specifies lower boundary above which ReroutePercentage will stay. [Name <String>]: Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. [ReroutePercentage <Double?>]: Percentage of the traffic which will be redirected to <code>ActionHostName</code>. [FtpsState <FtpsState?>]: State of FTP / FTPS service [HandlerMapping <IHandlerMapping[]>]: Handler mappings. [Argument <String>]: Command-line arguments to be passed to the script processor. [Extension <String>]: Requests with this extension will be handled using the specified FastCGI application. [ScriptProcessor <String>]: The absolute path to the FastCGI application. [HealthCheckPath <String>]: Health check path [Http20Enabled <Boolean?>]: Http20Enabled: configures a web site to allow clients to connect over http2.0 [HttpLoggingEnabled <Boolean?>]: <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. [IPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for main. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag [IsPushEnabled <Boolean?>]: Gets or sets a flag indicating whether the Push endpoint is enabled. [JavaContainer <String>]: Java container. [JavaContainerVersion <String>]: Java container version. [JavaVersion <String>]: Java version. [LimitMaxDiskSizeInMb <Int64?>]: Maximum allowed disk size usage in MB. [LimitMaxMemoryInMb <Int64?>]: Maximum allowed memory usage in MB. [LimitMaxPercentageCpu <Double?>]: Maximum allowed CPU usage percentage. [LinuxFxVersion <String>]: Linux App Framework and version [LoadBalancing <SiteLoadBalancing?>]: Site load balancing. [LocalMySqlEnabled <Boolean?>]: <code>true</code> to enable local MySQL; otherwise, <code>false</code>. [LogsDirectorySizeLimit <Int32?>]: HTTP logs directory size limit. [MachineKeyDecryption <String>]: Algorithm used for decryption. [MachineKeyDecryptionKey <String>]: Decryption key. [MachineKeyValidation <String>]: MachineKey validation. [MachineKeyValidationKey <String>]: Validation key. [ManagedPipelineMode <ManagedPipelineMode?>]: Managed pipeline mode. [ManagedServiceIdentityId <Int32?>]: Managed Service Identity Id [MinTlsVersion <SupportedTlsVersions?>]: MinTlsVersion: configures the minimum version of TLS required for SSL requests [NetFrameworkVersion <String>]: .NET Framework version. [NodeVersion <String>]: Version of Node.js. [NumberOfWorker <Int32?>]: Number of workers. [PhpVersion <String>]: Version of PHP. [PowerShellVersion <String>]: Version of PowerShell. [PreWarmedInstanceCount <Int32?>]: Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans [PublishingUsername <String>]: Publishing user name. [PushKind <String>]: Kind of resource. [PythonVersion <String>]: Version of Python. [RemoteDebuggingEnabled <Boolean?>]: <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. [RemoteDebuggingVersion <String>]: Remote debugging version. [RequestCount <Int32?>]: Request Count. [RequestTimeInterval <String>]: Time interval. [RequestTracingEnabled <Boolean?>]: <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. [RequestTracingExpirationTime <DateTime?>]: Request tracing expiration time. [ScmIPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for scm. [ScmIPSecurityRestrictionsUseMain <Boolean?>]: IP security restrictions for scm to use main. [ScmType <ScmType?>]: SCM type. [SlowRequestCount <Int32?>]: Request Count. [SlowRequestTimeInterval <String>]: Time interval. [SlowRequestTimeTaken <String>]: Time taken. [TagWhitelistJson <String>]: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. [TagsRequiringAuth <String>]: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler. [TracingOption <String>]: Tracing options. [TriggerPrivateBytesInKb <Int32?>]: A rule based on private bytes. [TriggerStatusCode <IStatusCodesBasedTrigger[]>]: A rule based on status codes. [Count <Int32?>]: Request Count. [Status <Int32?>]: HTTP status code. [SubStatus <Int32?>]: Request Sub Status. [TimeInterval <String>]: Time interval. [Win32Status <Int32?>]: Win32 error code. [Use32BitWorkerProcess <Boolean?>]: <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. [VirtualApplication <IVirtualApplication[]>]: Virtual applications. [PhysicalPath <String>]: Physical path. [PreloadEnabled <Boolean?>]: <code>true</code> if preloading is enabled; otherwise, <code>false</code>. [VirtualDirectory <IVirtualDirectory[]>]: Virtual directories for virtual application. [PhysicalPath <String>]: Physical path. [VirtualPath <String>]: Path to virtual application. [VirtualPath <String>]: Virtual path. [VnetName <String>]: Virtual Network name. [WebSocketsEnabled <Boolean?>]: <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. [WindowsFxVersion <String>]: Xenon App Framework and version [XManagedServiceIdentityId <Int32?>]: Explicit Managed Service Identity Id .Link https://docs.microsoft.com/powershell/module/az.functions/update-azfunctionapp #> function Update-AzFunctionApp { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISite])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Unique name of the app to create or update. # To create or update a deployment slot, use the {slot} parameter. ${Name}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Update')] [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISitePatchResource] # ARM resource for a site. # To construct, see NOTES section for SITEENVELOPE properties and create a hash table. ${SiteEnvelope}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to enable client affinity; <code>false</code> to stop sending session affinity cookies, which route client requests in the same session to the same instance. # Default is <code>true</code>. ${ClientAffinityEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to enable client certificate authentication (TLS mutual authentication); otherwise, <code>false</code>. # Default is <code>false</code>. ${ClientCertEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # client certificate authentication comma-separated exclusion paths ${ClientCertExclusionPath}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ICloningInfoAppSettingsOverrides]))] [System.Collections.Hashtable] # Application setting overrides for cloned app. # If specified, these settings override the settings cloned from source app. # Otherwise, application settings from source app are retained. ${CloningInfoAppSettingsOverride}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to clone custom hostnames from source app; otherwise, <code>false</code>. ${CloningInfoCloneCustomHostName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to clone source control from source app; otherwise, <code>false</code>. ${CloningInfoCloneSourceControl}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to configure load balancing for source and destination app. ${CloningInfoConfigureLoadBalancing}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Correlation ID of cloning operation. # This ID ties multiple cloning operationstogether to use the same snapshot. ${CloningInfoCorrelationId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # App Service Environment. ${CloningInfoHostingEnvironment}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to overwrite destination app; otherwise, <code>false</code>. ${CloningInfoOverwrite}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # ARM resource ID of the source app. # App resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName} for production slots and /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{siteName}/slots/{slotName} for other slots. ${CloningInfoSourceWebAppId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Location of source app ex: West US or North Europe ${CloningInfoSourceWebAppLocation}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # ARM resource ID of the Traffic Manager profile to use, if it exists. # Traffic Manager resource ID is of the form /subscriptions/{subId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/trafficManagerProfiles/{profileName}. ${CloningInfoTrafficManagerProfileId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Name of Traffic Manager profile to create. # This is only needed if Traffic Manager profile does not already exist. ${CloningInfoTrafficManagerProfileName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Size of the function container. ${ContainerSize}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Maximum allowed daily memory-time quota (applicable on dynamic apps only). ${DailyMemoryTimeQuota}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if the app is enabled; otherwise, <code>false</code>. # Setting this value to false disables the app (takes the app offline). ${Enabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHostNameSslState[]] # Hostname SSL states are used to manage the SSL bindings for app's hostnames. # To construct, see NOTES section for HOSTNAMESSLSTATE properties and create a hash table. ${HostNameSslState}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to disable the public hostnames of the app; otherwise, <code>false</code>. # If <code>true</code>, the app is only accessible via API management process. ${HostNamesDisabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Resource ID of the App Service Environment. ${HostingEnvironmentProfileId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # HttpsOnly: configures a web site to accept only https requests. # Issues redirect forhttp requests ${HttpsOnly}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Hyper-V sandbox. ${HyperV}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedServiceIdentityType] # Type of managed service identity. ${IdentityType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.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}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Obsolete: Hyper-V sandbox. ${IsXenon}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${Kind}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.RedundancyMode] # Site redundancy mode ${RedundancyMode}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if reserved; otherwise, <code>false</code>. ${Reserved}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to stop SCM (KUDU) site when the app is stopped; otherwise, <code>false</code>. # The default is <code>false</code>. ${ScmSiteAlsoStopped}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Resource ID of the associated App Service plan, formatted as: "/subscriptions/{subscriptionID}/resourceGroups/{groupName}/providers/Microsoft.Web/serverfarms/{appServicePlanName}". ${ServerFarmId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfig] # Configuration of the app. # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Az.Functions.private\Update-AzFunctionApp_Update'; UpdateExpanded = 'Az.Functions.private\Update-AzFunctionApp_UpdateExpanded'; UpdateViaIdentity = 'Az.Functions.private\Update-AzFunctionApp_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Az.Functions.private\Update-AzFunctionApp_UpdateViaIdentityExpanded'; } if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Update an identity in the specified subscription and resource group. .Description Update an identity in the specified subscription and resource group. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityUpdate .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated .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. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. PARAMETER <IIdentityUpdate>: Describes an identity resource. [Location <String>]: The geo-location where the resource lives [Tag <IIdentityUpdateTags>]: Resource tags [(Any) <String>]: This indicates any property can be added to this object. .Link https://docs.microsoft.com/powershell/module/az.functions/update-azuserassignedidentity #> function Update-AzUserAssignedIdentity { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityAutoGenerated])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The name of the Resource Group to which the identity belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # The name of the identity resource. ${ResourceName}, [Parameter(ParameterSetName='Update')] [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityUpdate] # Describes an identity resource. # To construct, see NOTES section for PARAMETER properties and create a hash table. ${Parameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # The geo-location where the resource lives ${Location}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.Info(PossibleTypes=([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20181130.IIdentityUpdateTags]))] [System.Collections.Hashtable] # Resource tags ${Tag}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Az.Functions.private\Update-AzUserAssignedIdentity_Update'; UpdateExpanded = 'Az.Functions.private\Update-AzUserAssignedIdentity_UpdateExpanded'; UpdateViaIdentity = 'Az.Functions.private\Update-AzUserAssignedIdentity_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Az.Functions.private\Update-AzUserAssignedIdentity_UpdateViaIdentityExpanded'; } if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Updates the configuration of an app. .Description Description for Updates the configuration of an app. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource .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. APPSETTING <INameValuePair[]>: Application settings. [Name <String>]: Pair name. [Value <String>]: Pair value. CONNECTIONSTRING <IConnStringInfo[]>: Connection strings. [ConnectionString <String>]: Connection string value. [Name <String>]: Name of connection string. [Type <ConnectionStringType?>]: Type of database. EXPERIMENTRAMPUPRULE <IRampUpRule[]>: List of ramp-up rules. [ActionHostName <String>]: Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. [ChangeDecisionCallbackUrl <String>]: Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/ [ChangeIntervalInMinute <Int32?>]: Specifies interval in minutes to reevaluate ReroutePercentage. [ChangeStep <Double?>]: In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches \n<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. [MaxReroutePercentage <Double?>]: Specifies upper boundary below which ReroutePercentage will stay. [MinReroutePercentage <Double?>]: Specifies lower boundary above which ReroutePercentage will stay. [Name <String>]: Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. [ReroutePercentage <Double?>]: Percentage of the traffic which will be redirected to <code>ActionHostName</code>. HANDLERMAPPING <IHandlerMapping[]>: Handler mappings. [Argument <String>]: Command-line arguments to be passed to the script processor. [Extension <String>]: Requests with this extension will be handled using the specified FastCGI application. [ScriptProcessor <String>]: The absolute path to the FastCGI application. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. IPSECURITYRESTRICTION <IIPSecurityRestriction[]>: IP security restrictions for main. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag SCMIPSECURITYRESTRICTION <IIPSecurityRestriction[]>: IP security restrictions for scm. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag SITECONFIG <ISiteConfigResource>: Web app configuration ARM resource. [Kind <String>]: Kind of resource. [ActionMinProcessExecutionTime <String>]: Minimum time the process must execute before taking the action [ActionType <AutoHealActionType?>]: Predefined action to be taken. [AlwaysOn <Boolean?>]: <code>true</code> if Always On is enabled; otherwise, <code>false</code>. [ApiDefinitionUrl <String>]: The URL of the API definition. [ApiManagementConfigId <String>]: APIM-Api Identifier. [AppCommandLine <String>]: App command line to launch. [AppSetting <INameValuePair[]>]: Application settings. [Name <String>]: Pair name. [Value <String>]: Pair value. [AutoHealEnabled <Boolean?>]: <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. [AutoSwapSlotName <String>]: Auto-swap slot name. [ConnectionString <IConnStringInfo[]>]: Connection strings. [ConnectionString <String>]: Connection string value. [Name <String>]: Name of connection string. [Type <ConnectionStringType?>]: Type of database. [CorAllowedOrigin <String[]>]: Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. [CorSupportCredentials <Boolean?>]: Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials for more details. [CustomActionExe <String>]: Executable to be run. [CustomActionParameter <String>]: Parameters for the executable. [DefaultDocument <String[]>]: Default documents. [DetailedErrorLoggingEnabled <Boolean?>]: <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. [DocumentRoot <String>]: Document root. [DynamicTagsJson <String>]: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. [ExperimentRampUpRule <IRampUpRule[]>]: List of ramp-up rules. [ActionHostName <String>]: Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. [ChangeDecisionCallbackUrl <String>]: Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/ [ChangeIntervalInMinute <Int32?>]: Specifies interval in minutes to reevaluate ReroutePercentage. [ChangeStep <Double?>]: In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches \n<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. [MaxReroutePercentage <Double?>]: Specifies upper boundary below which ReroutePercentage will stay. [MinReroutePercentage <Double?>]: Specifies lower boundary above which ReroutePercentage will stay. [Name <String>]: Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. [ReroutePercentage <Double?>]: Percentage of the traffic which will be redirected to <code>ActionHostName</code>. [FtpsState <FtpsState?>]: State of FTP / FTPS service [HandlerMapping <IHandlerMapping[]>]: Handler mappings. [Argument <String>]: Command-line arguments to be passed to the script processor. [Extension <String>]: Requests with this extension will be handled using the specified FastCGI application. [ScriptProcessor <String>]: The absolute path to the FastCGI application. [HealthCheckPath <String>]: Health check path [Http20Enabled <Boolean?>]: Http20Enabled: configures a web site to allow clients to connect over http2.0 [HttpLoggingEnabled <Boolean?>]: <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. [IPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for main. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag [IsPushEnabled <Boolean?>]: Gets or sets a flag indicating whether the Push endpoint is enabled. [JavaContainer <String>]: Java container. [JavaContainerVersion <String>]: Java container version. [JavaVersion <String>]: Java version. [LimitMaxDiskSizeInMb <Int64?>]: Maximum allowed disk size usage in MB. [LimitMaxMemoryInMb <Int64?>]: Maximum allowed memory usage in MB. [LimitMaxPercentageCpu <Double?>]: Maximum allowed CPU usage percentage. [LinuxFxVersion <String>]: Linux App Framework and version [LoadBalancing <SiteLoadBalancing?>]: Site load balancing. [LocalMySqlEnabled <Boolean?>]: <code>true</code> to enable local MySQL; otherwise, <code>false</code>. [LogsDirectorySizeLimit <Int32?>]: HTTP logs directory size limit. [MachineKeyDecryption <String>]: Algorithm used for decryption. [MachineKeyDecryptionKey <String>]: Decryption key. [MachineKeyValidation <String>]: MachineKey validation. [MachineKeyValidationKey <String>]: Validation key. [ManagedPipelineMode <ManagedPipelineMode?>]: Managed pipeline mode. [ManagedServiceIdentityId <Int32?>]: Managed Service Identity Id [MinTlsVersion <SupportedTlsVersions?>]: MinTlsVersion: configures the minimum version of TLS required for SSL requests [NetFrameworkVersion <String>]: .NET Framework version. [NodeVersion <String>]: Version of Node.js. [NumberOfWorker <Int32?>]: Number of workers. [PhpVersion <String>]: Version of PHP. [PowerShellVersion <String>]: Version of PowerShell. [PreWarmedInstanceCount <Int32?>]: Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans [PublishingUsername <String>]: Publishing user name. [PushKind <String>]: Kind of resource. [PythonVersion <String>]: Version of Python. [RemoteDebuggingEnabled <Boolean?>]: <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. [RemoteDebuggingVersion <String>]: Remote debugging version. [RequestCount <Int32?>]: Request Count. [RequestTimeInterval <String>]: Time interval. [RequestTracingEnabled <Boolean?>]: <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. [RequestTracingExpirationTime <DateTime?>]: Request tracing expiration time. [ScmIPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for scm. [ScmIPSecurityRestrictionsUseMain <Boolean?>]: IP security restrictions for scm to use main. [ScmType <ScmType?>]: SCM type. [SlowRequestCount <Int32?>]: Request Count. [SlowRequestTimeInterval <String>]: Time interval. [SlowRequestTimeTaken <String>]: Time taken. [TagWhitelistJson <String>]: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. [TagsRequiringAuth <String>]: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler. [TracingOption <String>]: Tracing options. [TriggerPrivateBytesInKb <Int32?>]: A rule based on private bytes. [TriggerStatusCode <IStatusCodesBasedTrigger[]>]: A rule based on status codes. [Count <Int32?>]: Request Count. [Status <Int32?>]: HTTP status code. [SubStatus <Int32?>]: Request Sub Status. [TimeInterval <String>]: Time interval. [Win32Status <Int32?>]: Win32 error code. [Use32BitWorkerProcess <Boolean?>]: <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. [VirtualApplication <IVirtualApplication[]>]: Virtual applications. [PhysicalPath <String>]: Physical path. [PreloadEnabled <Boolean?>]: <code>true</code> if preloading is enabled; otherwise, <code>false</code>. [VirtualDirectory <IVirtualDirectory[]>]: Virtual directories for virtual application. [PhysicalPath <String>]: Physical path. [VirtualPath <String>]: Path to virtual application. [VirtualPath <String>]: Virtual path. [VnetName <String>]: Virtual Network name. [WebSocketsEnabled <Boolean?>]: <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. [WindowsFxVersion <String>]: Xenon App Framework and version [XManagedServiceIdentityId <Int32?>]: Explicit Managed Service Identity Id TRIGGERSTATUSCODE <IStatusCodesBasedTrigger[]>: A rule based on status codes. [Count <Int32?>]: Request Count. [Status <Int32?>]: HTTP status code. [SubStatus <Int32?>]: Request Sub Status. [TimeInterval <String>]: Time interval. [Win32Status <Int32?>]: Win32 error code. VIRTUALAPPLICATION <IVirtualApplication[]>: Virtual applications. [PhysicalPath <String>]: Physical path. [PreloadEnabled <Boolean?>]: <code>true</code> if preloading is enabled; otherwise, <code>false</code>. [VirtualDirectory <IVirtualDirectory[]>]: Virtual directories for virtual application. [PhysicalPath <String>]: Physical path. [VirtualPath <String>]: Path to virtual application. [VirtualPath <String>]: Virtual path. .Link https://docs.microsoft.com/powershell/module/az.functions/update-azwebappconfigurationslot #> function Update-AzWebAppConfigurationSlot { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the deployment slot. # If a slot is not specified, the API will update configuration for the production slot. ${Slot}, [Parameter(ParameterSetName='Update')] [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource] # Web app configuration ARM resource. # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Minimum time the process must executebefore taking the action ${ActionMinProcessExecutionTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType] # Predefined action to be taken. ${ActionType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if Always On is enabled; otherwise, <code>false</code>. ${AlwaysOn}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # The URL of the API definition. ${ApiDefinitionUrl}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # APIM-Api Identifier. ${ApiManagementConfigId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # App command line to launch. ${AppCommandLine}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[]] # Application settings. # To construct, see NOTES section for APPSETTING properties and create a hash table. ${AppSetting}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. ${AutoHealEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Auto-swap slot name. ${AutoSwapSlotName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[]] # Connection strings. # To construct, see NOTES section for CONNECTIONSTRING properties and create a hash table. ${ConnectionString}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String[]] # Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). # Use "*" to allow all. ${CorAllowedOrigin}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets whether CORS requests with credentials are allowed. # See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor more details. ${CorSupportCredentials}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Executable to be run. ${CustomActionExe}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Parameters for the executable. ${CustomActionParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String[]] # Default documents. ${DefaultDocument}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. ${DetailedErrorLoggingEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Document root. ${DocumentRoot}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. ${DynamicTagsJson}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[]] # List of ramp-up rules. # To construct, see NOTES section for EXPERIMENTRAMPUPRULE properties and create a hash table. ${ExperimentRampUpRule}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState] # State of FTP / FTPS service ${FtpsState}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[]] # Handler mappings. # To construct, see NOTES section for HANDLERMAPPING properties and create a hash table. ${HandlerMapping}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Health check path ${HealthCheckPath}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Http20Enabled: configures a web site to allow clients to connect over http2.0 ${Http20Enabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. ${HttpLoggingEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[]] # IP security restrictions for main. # To construct, see NOTES section for IPSECURITYRESTRICTION properties and create a hash table. ${IPSecurityRestriction}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a flag indicating whether the Push endpoint is enabled. ${IsPushEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Java container. ${JavaContainer}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Java container version. ${JavaContainerVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Java version. ${JavaVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${Kind}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int64] # Maximum allowed disk size usage in MB. ${LimitMaxDiskSizeInMb}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int64] # Maximum allowed memory usage in MB. ${LimitMaxMemoryInMb}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Double] # Maximum allowed CPU usage percentage. ${LimitMaxPercentageCpu}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Linux App Framework and version ${LinuxFxVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing] # Site load balancing. ${LoadBalancing}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to enable local MySQL; otherwise, <code>false</code>. ${LocalMySqlEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # HTTP logs directory size limit. ${LogsDirectorySizeLimit}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode] # Managed pipeline mode. ${ManagedPipelineMode}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Managed Service Identity Id ${ManagedServiceIdentityId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions] # MinTlsVersion: configures the minimum version of TLS required for SSL requests ${MinTlsVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # .NET Framework version. ${NetFrameworkVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of Node.js. ${NodeVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Number of workers. ${NumberOfWorker}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of PHP. ${PhpVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of PowerShell. ${PowerShellVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans ${PreWarmedInstanceCount}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Publishing user name. ${PublishingUsername}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${PushKind}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of Python. ${PythonVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. ${RemoteDebuggingEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Remote debugging version. ${RemoteDebuggingVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Request Count. ${RequestCount}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Time interval. ${RequestTimeInterval}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. ${RequestTracingEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.DateTime] # Request tracing expiration time. ${RequestTracingExpirationTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[]] # IP security restrictions for scm. # To construct, see NOTES section for SCMIPSECURITYRESTRICTION properties and create a hash table. ${ScmIPSecurityRestriction}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # IP security restrictions for scm to use main. ${ScmIPSecurityRestrictionsUseMain}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType] # SCM type. ${ScmType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Request Count. ${SlowRequestCount}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Time interval. ${SlowRequestTimeInterval}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Time taken. ${SlowRequestTimeTaken}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. ${TagWhitelistJson}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.Tags can consist of alphanumeric characters and the following:'_', '@', '#', '.', ':', '-'. # Validation should be performed at the PushRequestHandler. ${TagsRequiringAuth}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Tracing options. ${TracingOption}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # A rule based on private bytes. ${TriggerPrivateBytesInKb}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[]] # A rule based on status codes. # To construct, see NOTES section for TRIGGERSTATUSCODE properties and create a hash table. ${TriggerStatusCode}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. ${Use32BitWorkerProcess}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[]] # Virtual applications. # To construct, see NOTES section for VIRTUALAPPLICATION properties and create a hash table. ${VirtualApplication}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Virtual Network name. ${VnetName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. ${WebSocketsEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Xenon App Framework and version ${WindowsFxVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Explicit Managed Service Identity Id ${XManagedServiceIdentityId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Az.Functions.private\Update-AzWebAppConfigurationSlot_Update'; UpdateExpanded = 'Az.Functions.private\Update-AzWebAppConfigurationSlot_UpdateExpanded'; UpdateViaIdentity = 'Az.Functions.private\Update-AzWebAppConfigurationSlot_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Az.Functions.private\Update-AzWebAppConfigurationSlot_UpdateViaIdentityExpanded'; } if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } <# .Synopsis Description for Updates the configuration of an app. .Description Description for Updates the configuration of an app. .Example PS C:\> {{ Add code here }} {{ Add output here }} .Example PS C:\> {{ Add code here }} {{ Add output here }} .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource .Inputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity .Outputs Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource .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. APPSETTING <INameValuePair[]>: Application settings. [Name <String>]: Pair name. [Value <String>]: Pair value. CONNECTIONSTRING <IConnStringInfo[]>: Connection strings. [ConnectionString <String>]: Connection string value. [Name <String>]: Name of connection string. [Type <ConnectionStringType?>]: Type of database. EXPERIMENTRAMPUPRULE <IRampUpRule[]>: List of ramp-up rules. [ActionHostName <String>]: Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. [ChangeDecisionCallbackUrl <String>]: Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/ [ChangeIntervalInMinute <Int32?>]: Specifies interval in minutes to reevaluate ReroutePercentage. [ChangeStep <Double?>]: In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches \n<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. [MaxReroutePercentage <Double?>]: Specifies upper boundary below which ReroutePercentage will stay. [MinReroutePercentage <Double?>]: Specifies lower boundary above which ReroutePercentage will stay. [Name <String>]: Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. [ReroutePercentage <Double?>]: Percentage of the traffic which will be redirected to <code>ActionHostName</code>. HANDLERMAPPING <IHandlerMapping[]>: Handler mappings. [Argument <String>]: Command-line arguments to be passed to the script processor. [Extension <String>]: Requests with this extension will be handled using the specified FastCGI application. [ScriptProcessor <String>]: The absolute path to the FastCGI application. INPUTOBJECT <IFunctionsIdentity>: Identity Parameter [AccountName <String>]: The name of the storage account within the specified resource group. Storage account names must be between 3 and 24 characters in length and use numbers and lower-case letters only. [AnalysisName <String>]: Analysis Name [AppSettingKey <String>]: App Setting key name. [Authprovider <String>]: The auth provider for the users. [BackupId <String>]: ID of the backup. [BaseAddress <String>]: Module base address. [BlobServicesName <String>]: The name of the blob Service within the specified storage account. Blob Service Name must be 'default' [CertificateOrderName <String>]: Name of the certificate order.. [ContainerName <String>]: The name of the blob container within the specified storage account. Blob container names must be between 3 and 63 characters in length and use numbers, lower-case letters and dash (-) only. Every dash (-) character must be immediately preceded and followed by a letter or number. [DeletedSiteId <String>]: The numeric ID of the deleted app, e.g. 12345 [DetectorName <String>]: Detector Resource Name [DiagnosticCategory <String>]: Diagnostic Category [DiagnosticsName <String>]: Name of the diagnostics item. [DomainName <String>]: Name of the domain. [DomainOwnershipIdentifierName <String>]: Name of domain ownership identifier. [EntityName <String>]: Name of the hybrid connection. [FunctionName <String>]: Function name. [GatewayName <String>]: Name of the gateway. Currently, the only supported string is "primary". [HostName <String>]: Hostname in the hostname binding. [HostingEnvironmentName <String>]: Name of the hosting environment. [Id <String>]: Deployment ID. [Id1 <String>]: Resource identity path [ImmutabilityPolicyName <String>]: The name of the blob container immutabilityPolicy within the specified storage account. ImmutabilityPolicy Name must be 'default' [Instance <String>]: Name of the instance in the multi-role pool. [InstanceId <String>]: [KeyId <String>]: The API Key ID. This is unique within a Application Insights component. [KeyName <String>]: The name of the key. [KeyType <String>]: The type of host key. [Location <String>]: [ManagementPolicyName <ManagementPolicyName?>]: The name of the Storage Account Management Policy. It should always be 'default' [Name <String>]: Name of the certificate. [NamespaceName <String>]: The namespace for this hybrid connection. [OperationId <String>]: GUID of the operation. [PrId <String>]: The stage site identifier. [PremierAddOnName <String>]: Add-on name. [PrivateEndpointConnectionName <String>]: [ProcessId <String>]: PID. [PublicCertificateName <String>]: Public certificate name. [PurgeId <String>]: In a purge status request, this is the Id of the operation the status of which is returned. [RelayName <String>]: The relay name for this hybrid connection. [ResourceGroupName <String>]: Name of the resource group to which the resource belongs. [ResourceName <String>]: The name of the Application Insights component resource. [RouteName <String>]: Name of the Virtual Network route. [Scope <String>]: The resource provider scope of the resource. Parent resource being extended by Managed Identities. [SiteExtensionId <String>]: Site extension name. [SiteName <String>]: Site Name [Slot <String>]: Slot Name [SnapshotId <String>]: The ID of the snapshot to read. [SourceControlType <String>]: Type of source control [SubscriptionId <String>]: Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). [Userid <String>]: The user id of the user. [View <String>]: The type of view. This can either be "summary" or "detailed". [VnetName <String>]: Name of the virtual network. [WebJobName <String>]: Name of Web Job. [WorkerName <String>]: Name of worker machine, which typically starts with RD. [WorkerPoolName <String>]: Name of the worker pool. IPSECURITYRESTRICTION <IIPSecurityRestriction[]>: IP security restrictions for main. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag SCMIPSECURITYRESTRICTION <IIPSecurityRestriction[]>: IP security restrictions for scm. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag SITECONFIG <ISiteConfigResource>: Web app configuration ARM resource. [Kind <String>]: Kind of resource. [ActionMinProcessExecutionTime <String>]: Minimum time the process must execute before taking the action [ActionType <AutoHealActionType?>]: Predefined action to be taken. [AlwaysOn <Boolean?>]: <code>true</code> if Always On is enabled; otherwise, <code>false</code>. [ApiDefinitionUrl <String>]: The URL of the API definition. [ApiManagementConfigId <String>]: APIM-Api Identifier. [AppCommandLine <String>]: App command line to launch. [AppSetting <INameValuePair[]>]: Application settings. [Name <String>]: Pair name. [Value <String>]: Pair value. [AutoHealEnabled <Boolean?>]: <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. [AutoSwapSlotName <String>]: Auto-swap slot name. [ConnectionString <IConnStringInfo[]>]: Connection strings. [ConnectionString <String>]: Connection string value. [Name <String>]: Name of connection string. [Type <ConnectionStringType?>]: Type of database. [CorAllowedOrigin <String[]>]: Gets or sets the list of origins that should be allowed to make cross-origin calls (for example: http://example.com:12345). Use "*" to allow all. [CorSupportCredentials <Boolean?>]: Gets or sets whether CORS requests with credentials are allowed. See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentials for more details. [CustomActionExe <String>]: Executable to be run. [CustomActionParameter <String>]: Parameters for the executable. [DefaultDocument <String[]>]: Default documents. [DetailedErrorLoggingEnabled <Boolean?>]: <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. [DocumentRoot <String>]: Document root. [DynamicTagsJson <String>]: Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. [ExperimentRampUpRule <IRampUpRule[]>]: List of ramp-up rules. [ActionHostName <String>]: Hostname of a slot to which the traffic will be redirected if decided to. E.g. myapp-stage.azurewebsites.net. [ChangeDecisionCallbackUrl <String>]: Custom decision algorithm can be provided in TiPCallback site extension which URL can be specified. See TiPCallback site extension for the scaffold and contracts. https://www.siteextensions.net/packages/TiPCallback/ [ChangeIntervalInMinute <Int32?>]: Specifies interval in minutes to reevaluate ReroutePercentage. [ChangeStep <Double?>]: In auto ramp up scenario this is the step to add/remove from <code>ReroutePercentage</code> until it reaches \n<code>MinReroutePercentage</code> or <code>MaxReroutePercentage</code>. Site metrics are checked every N minutes specified in <code>ChangeIntervalInMinutes</code>.\nCustom decision algorithm can be provided in TiPCallback site extension which URL can be specified in <code>ChangeDecisionCallbackUrl</code>. [MaxReroutePercentage <Double?>]: Specifies upper boundary below which ReroutePercentage will stay. [MinReroutePercentage <Double?>]: Specifies lower boundary above which ReroutePercentage will stay. [Name <String>]: Name of the routing rule. The recommended name would be to point to the slot which will receive the traffic in the experiment. [ReroutePercentage <Double?>]: Percentage of the traffic which will be redirected to <code>ActionHostName</code>. [FtpsState <FtpsState?>]: State of FTP / FTPS service [HandlerMapping <IHandlerMapping[]>]: Handler mappings. [Argument <String>]: Command-line arguments to be passed to the script processor. [Extension <String>]: Requests with this extension will be handled using the specified FastCGI application. [ScriptProcessor <String>]: The absolute path to the FastCGI application. [HealthCheckPath <String>]: Health check path [Http20Enabled <Boolean?>]: Http20Enabled: configures a web site to allow clients to connect over http2.0 [HttpLoggingEnabled <Boolean?>]: <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. [IPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for main. [Action <String>]: Allow or Deny access for this IP range. [Description <String>]: IP restriction rule description. [IPAddress <String>]: IP address the security restriction is valid for. It can be in form of pure ipv4 address (required SubnetMask property) or CIDR notation such as ipv4/mask (leading bit match). For CIDR, SubnetMask property must not be specified. [Name <String>]: IP restriction rule name. [Priority <Int32?>]: Priority of IP restriction rule. [SubnetMask <String>]: Subnet mask for the range of IP addresses the restriction is valid for. [SubnetTrafficTag <Int32?>]: (internal) Subnet traffic tag [Tag <IPFilterTag?>]: Defines what this IP filter will be used for. This is to support IP filtering on proxies. [VnetSubnetResourceId <String>]: Virtual network resource id [VnetTrafficTag <Int32?>]: (internal) Vnet traffic tag [IsPushEnabled <Boolean?>]: Gets or sets a flag indicating whether the Push endpoint is enabled. [JavaContainer <String>]: Java container. [JavaContainerVersion <String>]: Java container version. [JavaVersion <String>]: Java version. [LimitMaxDiskSizeInMb <Int64?>]: Maximum allowed disk size usage in MB. [LimitMaxMemoryInMb <Int64?>]: Maximum allowed memory usage in MB. [LimitMaxPercentageCpu <Double?>]: Maximum allowed CPU usage percentage. [LinuxFxVersion <String>]: Linux App Framework and version [LoadBalancing <SiteLoadBalancing?>]: Site load balancing. [LocalMySqlEnabled <Boolean?>]: <code>true</code> to enable local MySQL; otherwise, <code>false</code>. [LogsDirectorySizeLimit <Int32?>]: HTTP logs directory size limit. [MachineKeyDecryption <String>]: Algorithm used for decryption. [MachineKeyDecryptionKey <String>]: Decryption key. [MachineKeyValidation <String>]: MachineKey validation. [MachineKeyValidationKey <String>]: Validation key. [ManagedPipelineMode <ManagedPipelineMode?>]: Managed pipeline mode. [ManagedServiceIdentityId <Int32?>]: Managed Service Identity Id [MinTlsVersion <SupportedTlsVersions?>]: MinTlsVersion: configures the minimum version of TLS required for SSL requests [NetFrameworkVersion <String>]: .NET Framework version. [NodeVersion <String>]: Version of Node.js. [NumberOfWorker <Int32?>]: Number of workers. [PhpVersion <String>]: Version of PHP. [PowerShellVersion <String>]: Version of PowerShell. [PreWarmedInstanceCount <Int32?>]: Number of preWarmed instances. This setting only applies to the Consumption and Elastic Plans [PublishingUsername <String>]: Publishing user name. [PushKind <String>]: Kind of resource. [PythonVersion <String>]: Version of Python. [RemoteDebuggingEnabled <Boolean?>]: <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. [RemoteDebuggingVersion <String>]: Remote debugging version. [RequestCount <Int32?>]: Request Count. [RequestTimeInterval <String>]: Time interval. [RequestTracingEnabled <Boolean?>]: <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. [RequestTracingExpirationTime <DateTime?>]: Request tracing expiration time. [ScmIPSecurityRestriction <IIPSecurityRestriction[]>]: IP security restrictions for scm. [ScmIPSecurityRestrictionsUseMain <Boolean?>]: IP security restrictions for scm to use main. [ScmType <ScmType?>]: SCM type. [SlowRequestCount <Int32?>]: Request Count. [SlowRequestTimeInterval <String>]: Time interval. [SlowRequestTimeTaken <String>]: Time taken. [TagWhitelistJson <String>]: Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. [TagsRequiringAuth <String>]: Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint. Tags can consist of alphanumeric characters and the following: '_', '@', '#', '.', ':', '-'. Validation should be performed at the PushRequestHandler. [TracingOption <String>]: Tracing options. [TriggerPrivateBytesInKb <Int32?>]: A rule based on private bytes. [TriggerStatusCode <IStatusCodesBasedTrigger[]>]: A rule based on status codes. [Count <Int32?>]: Request Count. [Status <Int32?>]: HTTP status code. [SubStatus <Int32?>]: Request Sub Status. [TimeInterval <String>]: Time interval. [Win32Status <Int32?>]: Win32 error code. [Use32BitWorkerProcess <Boolean?>]: <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. [VirtualApplication <IVirtualApplication[]>]: Virtual applications. [PhysicalPath <String>]: Physical path. [PreloadEnabled <Boolean?>]: <code>true</code> if preloading is enabled; otherwise, <code>false</code>. [VirtualDirectory <IVirtualDirectory[]>]: Virtual directories for virtual application. [PhysicalPath <String>]: Physical path. [VirtualPath <String>]: Path to virtual application. [VirtualPath <String>]: Virtual path. [VnetName <String>]: Virtual Network name. [WebSocketsEnabled <Boolean?>]: <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. [WindowsFxVersion <String>]: Xenon App Framework and version [XManagedServiceIdentityId <Int32?>]: Explicit Managed Service Identity Id TRIGGERSTATUSCODE <IStatusCodesBasedTrigger[]>: A rule based on status codes. [Count <Int32?>]: Request Count. [Status <Int32?>]: HTTP status code. [SubStatus <Int32?>]: Request Sub Status. [TimeInterval <String>]: Time interval. [Win32Status <Int32?>]: Win32 error code. VIRTUALAPPLICATION <IVirtualApplication[]>: Virtual applications. [PhysicalPath <String>]: Physical path. [PreloadEnabled <Boolean?>]: <code>true</code> if preloading is enabled; otherwise, <code>false</code>. [VirtualDirectory <IVirtualDirectory[]>]: Virtual directories for virtual application. [PhysicalPath <String>]: Physical path. [VirtualPath <String>]: Path to virtual application. [VirtualPath <String>]: Virtual path. .Link https://docs.microsoft.com/powershell/module/az.functions/update-azwebappconfiguration #> function Update-AzWebAppConfiguration { [OutputType([Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource])] [CmdletBinding(DefaultParameterSetName='UpdateExpanded', PositionalBinding=$false, SupportsShouldProcess, ConfirmImpact='Medium')] param( [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the app. ${Name}, [Parameter(ParameterSetName='Update', Mandatory)] [Parameter(ParameterSetName='UpdateExpanded', Mandatory)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [System.String] # Name of the resource group to which the resource belongs. ${ResourceGroupName}, [Parameter(ParameterSetName='Update')] [Parameter(ParameterSetName='UpdateExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.DefaultInfo(Script='(Get-AzContext).Subscription.Id')] [System.String] # Your Azure subscription ID. # This is a GUID-formatted string (e.g. # 00000000-0000-0000-0000-000000000000). ${SubscriptionId}, [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Path')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.IFunctionsIdentity] # Identity Parameter # To construct, see NOTES section for INPUTOBJECT properties and create a hash table. ${InputObject}, [Parameter(ParameterSetName='Update', Mandatory, ValueFromPipeline)] [Parameter(ParameterSetName='UpdateViaIdentity', Mandatory, ValueFromPipeline)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISiteConfigResource] # Web app configuration ARM resource. # To construct, see NOTES section for SITECONFIG properties and create a hash table. ${SiteConfig}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Minimum time the process must executebefore taking the action ${ActionMinProcessExecutionTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.AutoHealActionType] # Predefined action to be taken. ${ActionType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if Always On is enabled; otherwise, <code>false</code>. ${AlwaysOn}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # The URL of the API definition. ${ApiDefinitionUrl}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # APIM-Api Identifier. ${ApiManagementConfigId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # App command line to launch. ${AppCommandLine}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.INameValuePair[]] # Application settings. # To construct, see NOTES section for APPSETTING properties and create a hash table. ${AppSetting}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if Auto Heal is enabled; otherwise, <code>false</code>. ${AutoHealEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Auto-swap slot name. ${AutoSwapSlotName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IConnStringInfo[]] # Connection strings. # To construct, see NOTES section for CONNECTIONSTRING properties and create a hash table. ${ConnectionString}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String[]] # Gets or sets the list of origins that should be allowed to make cross-origincalls (for example: http://example.com:12345). # Use "*" to allow all. ${CorAllowedOrigin}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets whether CORS requests with credentials are allowed. # See https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS#Requests_with_credentialsfor more details. ${CorSupportCredentials}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Executable to be run. ${CustomActionExe}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Parameters for the executable. ${CustomActionParameter}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String[]] # Default documents. ${DefaultDocument}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if detailed error logging is enabled; otherwise, <code>false</code>. ${DetailedErrorLoggingEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Document root. ${DocumentRoot}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Gets or sets a JSON string containing a list of dynamic tags that will be evaluated from user claims in the push registration endpoint. ${DynamicTagsJson}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IRampUpRule[]] # List of ramp-up rules. # To construct, see NOTES section for EXPERIMENTRAMPUPRULE properties and create a hash table. ${ExperimentRampUpRule}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.FtpsState] # State of FTP / FTPS service ${FtpsState}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IHandlerMapping[]] # Handler mappings. # To construct, see NOTES section for HANDLERMAPPING properties and create a hash table. ${HandlerMapping}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Health check path ${HealthCheckPath}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Http20Enabled: configures a web site to allow clients to connect over http2.0 ${Http20Enabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if HTTP logging is enabled; otherwise, <code>false</code>. ${HttpLoggingEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[]] # IP security restrictions for main. # To construct, see NOTES section for IPSECURITYRESTRICTION properties and create a hash table. ${IPSecurityRestriction}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # Gets or sets a flag indicating whether the Push endpoint is enabled. ${IsPushEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Java container. ${JavaContainer}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Java container version. ${JavaContainerVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Java version. ${JavaVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${Kind}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int64] # Maximum allowed disk size usage in MB. ${LimitMaxDiskSizeInMb}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int64] # Maximum allowed memory usage in MB. ${LimitMaxMemoryInMb}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Double] # Maximum allowed CPU usage percentage. ${LimitMaxPercentageCpu}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Linux App Framework and version ${LinuxFxVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SiteLoadBalancing] # Site load balancing. ${LoadBalancing}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to enable local MySQL; otherwise, <code>false</code>. ${LocalMySqlEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # HTTP logs directory size limit. ${LogsDirectorySizeLimit}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ManagedPipelineMode] # Managed pipeline mode. ${ManagedPipelineMode}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Managed Service Identity Id ${ManagedServiceIdentityId}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.SupportedTlsVersions] # MinTlsVersion: configures the minimum version of TLS required for SSL requests ${MinTlsVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # .NET Framework version. ${NetFrameworkVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of Node.js. ${NodeVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Number of workers. ${NumberOfWorker}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of PHP. ${PhpVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of PowerShell. ${PowerShellVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Number of preWarmed instances.This setting only applies to the Consumption and Elastic Plans ${PreWarmedInstanceCount}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Publishing user name. ${PublishingUsername}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Kind of resource. ${PushKind}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Version of Python. ${PythonVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if remote debugging is enabled; otherwise, <code>false</code>. ${RemoteDebuggingEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Remote debugging version. ${RemoteDebuggingVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Request Count. ${RequestCount}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Time interval. ${RequestTimeInterval}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if request tracing is enabled; otherwise, <code>false</code>. ${RequestTracingEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.DateTime] # Request tracing expiration time. ${RequestTracingExpirationTime}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IIPSecurityRestriction[]] # IP security restrictions for scm. # To construct, see NOTES section for SCMIPSECURITYRESTRICTION properties and create a hash table. ${ScmIPSecurityRestriction}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # IP security restrictions for scm to use main. ${ScmIPSecurityRestrictionsUseMain}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [ArgumentCompleter([Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType])] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.ScmType] # SCM type. ${ScmType}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Request Count. ${SlowRequestCount}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Time interval. ${SlowRequestTimeInterval}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Time taken. ${SlowRequestTimeTaken}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Gets or sets a JSON string containing a list of tags that are whitelisted for use by the push registration endpoint. ${TagWhitelistJson}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Gets or sets a JSON string containing a list of tags that require user authentication to be used in the push registration endpoint.Tags can consist of alphanumeric characters and the following:'_', '@', '#', '.', ':', '-'. # Validation should be performed at the PushRequestHandler. ${TagsRequiringAuth}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Tracing options. ${TracingOption}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # A rule based on private bytes. ${TriggerPrivateBytesInKb}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IStatusCodesBasedTrigger[]] # A rule based on status codes. # To construct, see NOTES section for TRIGGERSTATUSCODE properties and create a hash table. ${TriggerStatusCode}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> to use 32-bit worker process; otherwise, <code>false</code>. ${Use32BitWorkerProcess}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [AllowEmptyCollection()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.IVirtualApplication[]] # Virtual applications. # To construct, see NOTES section for VIRTUALAPPLICATION properties and create a hash table. ${VirtualApplication}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Virtual Network name. ${VnetName}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Management.Automation.SwitchParameter] # <code>true</code> if WebSocket is enabled; otherwise, <code>false</code>. ${WebSocketsEnabled}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.String] # Xenon App Framework and version ${WindowsFxVersion}, [Parameter(ParameterSetName='UpdateExpanded')] [Parameter(ParameterSetName='UpdateViaIdentityExpanded')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Body')] [System.Int32] # Explicit Managed Service Identity Id ${XManagedServiceIdentityId}, [Parameter()] [Alias('AzureRMContext', 'AzureCredential')] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Azure')] [System.Management.Automation.PSObject] # The credentials, account, tenant, and subscription used for communication with Azure. ${DefaultProfile}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Wait for .NET debugger to attach ${Break}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be appended to the front of the pipeline ${HttpPipelineAppend}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.SendAsyncStep[]] # SendAsync Pipeline Steps to be prepended to the front of the pipeline ${HttpPipelinePrepend}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Uri] # The URI for the proxy server to use ${Proxy}, [Parameter(DontShow)] [ValidateNotNull()] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.PSCredential] # Credentials for a proxy server to use for the remote call ${ProxyCredential}, [Parameter(DontShow)] [Microsoft.Azure.PowerShell.Cmdlets.Functions.Category('Runtime')] [System.Management.Automation.SwitchParameter] # Use the default credentials for the proxy ${ProxyUseDefaultCredentials} ) begin { try { $outBuffer = $null if ($PSBoundParameters.TryGetValue('OutBuffer', [ref]$outBuffer)) { $PSBoundParameters['OutBuffer'] = 1 } $parameterSet = $PSCmdlet.ParameterSetName $mapping = @{ Update = 'Az.Functions.private\Update-AzWebAppConfiguration_Update'; UpdateExpanded = 'Az.Functions.private\Update-AzWebAppConfiguration_UpdateExpanded'; UpdateViaIdentity = 'Az.Functions.private\Update-AzWebAppConfiguration_UpdateViaIdentity'; UpdateViaIdentityExpanded = 'Az.Functions.private\Update-AzWebAppConfiguration_UpdateViaIdentityExpanded'; } if (('Update', 'UpdateExpanded') -contains $parameterSet -and -not $PSBoundParameters.ContainsKey('SubscriptionId')) { $PSBoundParameters['SubscriptionId'] = (Get-AzContext).Subscription.Id } $wrappedCmd = $ExecutionContext.InvokeCommand.GetCommand(($mapping[$parameterSet]), [System.Management.Automation.CommandTypes]::Cmdlet) $scriptCmd = {& $wrappedCmd @PSBoundParameters} $steppablePipeline = $scriptCmd.GetSteppablePipeline($MyInvocation.CommandOrigin) $steppablePipeline.Begin($PSCmdlet) } catch { throw } } process { try { $steppablePipeline.Process($_) } catch { throw } } end { try { $steppablePipeline.End() } catch { throw } } } # SIG # Begin signature block # MIIjhgYJKoZIhvcNAQcCoIIjdzCCI3MCAQExDzANBglghkgBZQMEAgEFADB5Bgor # BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG # KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCBUHeAVipfNJan2 # Z+NTksP1JbBAG9KAIkuaZ67fN4hbmqCCDYEwggX/MIID56ADAgECAhMzAAACUosz # qviV8znbAAAAAAJSMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMTH01pY3Jvc29mdCBDb2RlIFNpZ25p # bmcgUENBIDIwMTEwHhcNMjEwOTAyMTgzMjU5WhcNMjIwOTAxMTgzMjU5WjB0MQsw # CQYDVQQGEwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9u # ZDEeMBwGA1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMR4wHAYDVQQDExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB # AQDQ5M+Ps/X7BNuv5B/0I6uoDwj0NJOo1KrVQqO7ggRXccklyTrWL4xMShjIou2I # sbYnF67wXzVAq5Om4oe+LfzSDOzjcb6ms00gBo0OQaqwQ1BijyJ7NvDf80I1fW9O # L76Kt0Wpc2zrGhzcHdb7upPrvxvSNNUvxK3sgw7YTt31410vpEp8yfBEl/hd8ZzA # v47DCgJ5j1zm295s1RVZHNp6MoiQFVOECm4AwK2l28i+YER1JO4IplTH44uvzX9o # RnJHaMvWzZEpozPy4jNO2DDqbcNs4zh7AWMhE1PWFVA+CHI/En5nASvCvLmuR/t8 # q4bc8XR8QIZJQSp+2U6m2ldNAgMBAAGjggF+MIIBejAfBgNVHSUEGDAWBgorBgEE # AYI3TAgBBggrBgEFBQcDAzAdBgNVHQ4EFgQUNZJaEUGL2Guwt7ZOAu4efEYXedEw # UAYDVR0RBEkwR6RFMEMxKTAnBgNVBAsTIE1pY3Jvc29mdCBPcGVyYXRpb25zIFB1 # ZXJ0byBSaWNvMRYwFAYDVQQFEw0yMzAwMTIrNDY3NTk3MB8GA1UdIwQYMBaAFEhu # ZOVQBdOCqhc3NyK1bajKdQKVMFQGA1UdHwRNMEswSaBHoEWGQ2h0dHA6Ly93d3cu # bWljcm9zb2Z0LmNvbS9wa2lvcHMvY3JsL01pY0NvZFNpZ1BDQTIwMTFfMjAxMS0w # Ny0wOC5jcmwwYQYIKwYBBQUHAQEEVTBTMFEGCCsGAQUFBzAChkVodHRwOi8vd3d3 # Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2NlcnRzL01pY0NvZFNpZ1BDQTIwMTFfMjAx # MS0wNy0wOC5jcnQwDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQsFAAOCAgEAFkk3 # uSxkTEBh1NtAl7BivIEsAWdgX1qZ+EdZMYbQKasY6IhSLXRMxF1B3OKdR9K/kccp # kvNcGl8D7YyYS4mhCUMBR+VLrg3f8PUj38A9V5aiY2/Jok7WZFOAmjPRNNGnyeg7 # l0lTiThFqE+2aOs6+heegqAdelGgNJKRHLWRuhGKuLIw5lkgx9Ky+QvZrn/Ddi8u # TIgWKp+MGG8xY6PBvvjgt9jQShlnPrZ3UY8Bvwy6rynhXBaV0V0TTL0gEx7eh/K1 # o8Miaru6s/7FyqOLeUS4vTHh9TgBL5DtxCYurXbSBVtL1Fj44+Od/6cmC9mmvrti # yG709Y3Rd3YdJj2f3GJq7Y7KdWq0QYhatKhBeg4fxjhg0yut2g6aM1mxjNPrE48z # 6HWCNGu9gMK5ZudldRw4a45Z06Aoktof0CqOyTErvq0YjoE4Xpa0+87T/PVUXNqf # 7Y+qSU7+9LtLQuMYR4w3cSPjuNusvLf9gBnch5RqM7kaDtYWDgLyB42EfsxeMqwK # WwA+TVi0HrWRqfSx2olbE56hJcEkMjOSKz3sRuupFCX3UroyYf52L+2iVTrda8XW # esPG62Mnn3T8AuLfzeJFuAbfOSERx7IFZO92UPoXE1uEjL5skl1yTZB3MubgOA4F # 8KoRNhviFAEST+nG8c8uIsbZeb08SeYQMqjVEmkwggd6MIIFYqADAgECAgphDpDS # AAAAAAADMA0GCSqGSIb3DQEBCwUAMIGIMQswCQYDVQQGEwJVUzETMBEGA1UECBMK # V2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWljcm9zb2Z0 # IENvcnBvcmF0aW9uMTIwMAYDVQQDEylNaWNyb3NvZnQgUm9vdCBDZXJ0aWZpY2F0 # ZSBBdXRob3JpdHkgMjAxMTAeFw0xMTA3MDgyMDU5MDlaFw0yNjA3MDgyMTA5MDla # MH4xCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdS # ZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xKDAmBgNVBAMT # H01pY3Jvc29mdCBDb2RlIFNpZ25pbmcgUENBIDIwMTEwggIiMA0GCSqGSIb3DQEB # AQUAA4ICDwAwggIKAoICAQCr8PpyEBwurdhuqoIQTTS68rZYIZ9CGypr6VpQqrgG # OBoESbp/wwwe3TdrxhLYC/A4wpkGsMg51QEUMULTiQ15ZId+lGAkbK+eSZzpaF7S # 35tTsgosw6/ZqSuuegmv15ZZymAaBelmdugyUiYSL+erCFDPs0S3XdjELgN1q2jz # y23zOlyhFvRGuuA4ZKxuZDV4pqBjDy3TQJP4494HDdVceaVJKecNvqATd76UPe/7 # 4ytaEB9NViiienLgEjq3SV7Y7e1DkYPZe7J7hhvZPrGMXeiJT4Qa8qEvWeSQOy2u # M1jFtz7+MtOzAz2xsq+SOH7SnYAs9U5WkSE1JcM5bmR/U7qcD60ZI4TL9LoDho33 # X/DQUr+MlIe8wCF0JV8YKLbMJyg4JZg5SjbPfLGSrhwjp6lm7GEfauEoSZ1fiOIl # XdMhSz5SxLVXPyQD8NF6Wy/VI+NwXQ9RRnez+ADhvKwCgl/bwBWzvRvUVUvnOaEP # 6SNJvBi4RHxF5MHDcnrgcuck379GmcXvwhxX24ON7E1JMKerjt/sW5+v/N2wZuLB # l4F77dbtS+dJKacTKKanfWeA5opieF+yL4TXV5xcv3coKPHtbcMojyyPQDdPweGF # RInECUzF1KVDL3SV9274eCBYLBNdYJWaPk8zhNqwiBfenk70lrC8RqBsmNLg1oiM # CwIDAQABo4IB7TCCAekwEAYJKwYBBAGCNxUBBAMCAQAwHQYDVR0OBBYEFEhuZOVQ # BdOCqhc3NyK1bajKdQKVMBkGCSsGAQQBgjcUAgQMHgoAUwB1AGIAQwBBMAsGA1Ud # DwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB8GA1UdIwQYMBaAFHItOgIxkEO5FAVO # 4eqnxzHRI4k0MFoGA1UdHwRTMFEwT6BNoEuGSWh0dHA6Ly9jcmwubWljcm9zb2Z0 # LmNvbS9wa2kvY3JsL3Byb2R1Y3RzL01pY1Jvb0NlckF1dDIwMTFfMjAxMV8wM18y # Mi5jcmwwXgYIKwYBBQUHAQEEUjBQME4GCCsGAQUFBzAChkJodHRwOi8vd3d3Lm1p # Y3Jvc29mdC5jb20vcGtpL2NlcnRzL01pY1Jvb0NlckF1dDIwMTFfMjAxMV8wM18y # Mi5jcnQwgZ8GA1UdIASBlzCBlDCBkQYJKwYBBAGCNy4DMIGDMD8GCCsGAQUFBwIB # FjNodHRwOi8vd3d3Lm1pY3Jvc29mdC5jb20vcGtpb3BzL2RvY3MvcHJpbWFyeWNw # cy5odG0wQAYIKwYBBQUHAgIwNB4yIB0ATABlAGcAYQBsAF8AcABvAGwAaQBjAHkA # XwBzAHQAYQB0AGUAbQBlAG4AdAAuIB0wDQYJKoZIhvcNAQELBQADggIBAGfyhqWY # 4FR5Gi7T2HRnIpsLlhHhY5KZQpZ90nkMkMFlXy4sPvjDctFtg/6+P+gKyju/R6mj # 82nbY78iNaWXXWWEkH2LRlBV2AySfNIaSxzzPEKLUtCw/WvjPgcuKZvmPRul1LUd # d5Q54ulkyUQ9eHoj8xN9ppB0g430yyYCRirCihC7pKkFDJvtaPpoLpWgKj8qa1hJ # Yx8JaW5amJbkg/TAj/NGK978O9C9Ne9uJa7lryft0N3zDq+ZKJeYTQ49C/IIidYf # wzIY4vDFLc5bnrRJOQrGCsLGra7lstnbFYhRRVg4MnEnGn+x9Cf43iw6IGmYslmJ # aG5vp7d0w0AFBqYBKig+gj8TTWYLwLNN9eGPfxxvFX1Fp3blQCplo8NdUmKGwx1j # NpeG39rz+PIWoZon4c2ll9DuXWNB41sHnIc+BncG0QaxdR8UvmFhtfDcxhsEvt9B # xw4o7t5lL+yX9qFcltgA1qFGvVnzl6UJS0gQmYAf0AApxbGbpT9Fdx41xtKiop96 # eiL6SJUfq/tHI4D1nvi/a7dLl+LrdXga7Oo3mXkYS//WsyNodeav+vyL6wuA6mk7 # r/ww7QRMjt/fdW1jkT3RnVZOT7+AVyKheBEyIXrvQQqxP/uozKRdwaGIm1dxVk5I # RcBCyZt2WwqASGv9eZ/BvW1taslScxMNelDNMYIVWzCCFVcCAQEwgZUwfjELMAkG # A1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQx # HjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEoMCYGA1UEAxMfTWljcm9z # b2Z0IENvZGUgU2lnbmluZyBQQ0EgMjAxMQITMwAAAlKLM6r4lfM52wAAAAACUjAN # BglghkgBZQMEAgEFAKCBrjAZBgkqhkiG9w0BCQMxDAYKKwYBBAGCNwIBBDAcBgor # BgEEAYI3AgELMQ4wDAYKKwYBBAGCNwIBFTAvBgkqhkiG9w0BCQQxIgQgiDpAaGL5 # OBBjq+U8cxVeSHmFrBG2Ug2B6MuRxm74xHQwQgYKKwYBBAGCNwIBDDE0MDKgFIAS # AE0AaQBjAHIAbwBzAG8AZgB0oRqAGGh0dHA6Ly93d3cubWljcm9zb2Z0LmNvbTAN # BgkqhkiG9w0BAQEFAASCAQBanftJQgfJCfGl87BBIYPz5VJ1YXBDQ23CXDYFiQz+ # 6r078onRm3tD7qHG3D3l/E66XhXkNJzc71/ehZ6oLg/lnkWHN+yBXh23Ljz0zWDJ # wfj412tQor47WHJbiZ8ppkoWaeTr5Y82Y6+v1zzckPKv6IP/GYq1+cLgoFRQzzRh # NUT69mL7jJl+Z4UzOT0xEO/a5jlA5/cwry26SSH39Kq34ZrxYjaG5fBg7ym9BZuO # TXETfEbZW1sP7sV3++MOe2+uGok3/3GlrXKdKvFA4rtovpEVWA4J2dZ9edZMNXM3 # d0tlNQwDI3yJjxowWzQKzClUnlVc7PMJCq92MEBYmq19oYIS5TCCEuEGCisGAQQB # gjcDAwExghLRMIISzQYJKoZIhvcNAQcCoIISvjCCEroCAQMxDzANBglghkgBZQME # AgEFADCCAVEGCyqGSIb3DQEJEAEEoIIBQASCATwwggE4AgEBBgorBgEEAYRZCgMB # MDEwDQYJYIZIAWUDBAIBBQAEIOAcbyYg8C6fPgpKzzqJei20KEF4rby11i9FJ7E0 # 373DAgZhwNzx4LEYEzIwMjExMjMwMTkxOTM2LjU4MVowBIACAfSggdCkgc0wgcox # CzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRt # b25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJTAjBgNVBAsTHE1p # Y3Jvc29mdCBBbWVyaWNhIE9wZXJhdGlvbnMxJjAkBgNVBAsTHVRoYWxlcyBUU1Mg # RVNOOjNCQkQtRTMzOC1FOUExMSUwIwYDVQQDExxNaWNyb3NvZnQgVGltZS1TdGFt # cCBTZXJ2aWNloIIOPDCCBPEwggPZoAMCAQICEzMAAAFPZC519noDWoMAAAAAAU8w # DQYJKoZIhvcNAQELBQAwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0 # b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3Jh # dGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwHhcN # MjAxMTEyMTgyNjAyWhcNMjIwMjExMTgyNjAyWjCByjELMAkGA1UEBhMCVVMxEzAR # BgNVBAgTCldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1p # Y3Jvc29mdCBDb3Jwb3JhdGlvbjElMCMGA1UECxMcTWljcm9zb2Z0IEFtZXJpY2Eg # T3BlcmF0aW9uczEmMCQGA1UECxMdVGhhbGVzIFRTUyBFU046M0JCRC1FMzM4LUU5 # QTExJTAjBgNVBAMTHE1pY3Jvc29mdCBUaW1lLVN0YW1wIFNlcnZpY2UwggEiMA0G # CSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCjFHe1ZPZoKOwb5P3E7/tIHSavithf # Mf8sJodyJbULIHlrUnaxSeCxNyFKB3pLcWOdyQDyJCTRbqRqmC0bSeD1DfT1PIv6 # /A6HDsZ3Ng7z3QlDg/DElXlfQaSvp32dfT9U742O0fvJC7sATEenBaz7fhTXQilw # juHVfU5WqbSxHnTciFWpmAbJc9BPuP+7pYXMUpS3awGJZk9cBFfVc9C1rA5cqT4C # uIEMSw4HUQsIm4EFbDTMBSPR/hpLSVgoI3up1TTOp76o9gGtL+nQcVfVTNE2ffsz # pHxECA/Fs7XrwcbEFe002RHva0WBPbikZaZeHQEHDi2EZ9MlsjytP2r9AgMBAAGj # ggEbMIIBFzAdBgNVHQ4EFgQUjo3u1xYGEH5Vk781wmTxMV/yoKAwHwYDVR0jBBgw # FoAU1WM6XIoxkPNDe3xGG8UzaFqFbVUwVgYDVR0fBE8wTTBLoEmgR4ZFaHR0cDov # L2NybC5taWNyb3NvZnQuY29tL3BraS9jcmwvcHJvZHVjdHMvTWljVGltU3RhUENB # XzIwMTAtMDctMDEuY3JsMFoGCCsGAQUFBwEBBE4wTDBKBggrBgEFBQcwAoY+aHR0 # cDovL3d3dy5taWNyb3NvZnQuY29tL3BraS9jZXJ0cy9NaWNUaW1TdGFQQ0FfMjAx # MC0wNy0wMS5jcnQwDAYDVR0TAQH/BAIwADATBgNVHSUEDDAKBggrBgEFBQcDCDAN # BgkqhkiG9w0BAQsFAAOCAQEAPDHkqxxc5DIOesrRezybooFfl4QxGmNCa6Ru2+vg # L27C6wZB0R58kBniWl5AmjLovJlKvJeJJPaeYhU7wVHeXwxwf+kRkQYuGFF2nRkI # P8dl2ob6Ad4yb0weD9o6X5hSb6SaQCyD/YjoSlD5AgA4KCnsm2Auva7zBm5EIh6f # ie5LOqM3rnm/OAl2UOnNbffF5sg6vaFy48PB1FMJUZ4gr3T2y8kEXmsE97+2ZjjJ # UbcE1r+vs+b1v6xZwef1dctBTUWkW1v/a/7WqMXtNIjrOHjCwssHhwAfulF7ms4F # O1v/PYPOusHG4qbKvMRhxA4MnoYD7h1hyScKdxvUrN3luTCCBnEwggRZoAMCAQIC # CmEJgSoAAAAAAAIwDQYJKoZIhvcNAQELBQAwgYgxCzAJBgNVBAYTAlVTMRMwEQYD # VQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdSZWRtb25kMR4wHAYDVQQKExVNaWNy # b3NvZnQgQ29ycG9yYXRpb24xMjAwBgNVBAMTKU1pY3Jvc29mdCBSb290IENlcnRp # ZmljYXRlIEF1dGhvcml0eSAyMDEwMB4XDTEwMDcwMTIxMzY1NVoXDTI1MDcwMTIx # NDY1NVowfDELMAkGA1UEBhMCVVMxEzARBgNVBAgTCldhc2hpbmd0b24xEDAOBgNV # BAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29mdCBDb3Jwb3JhdGlvbjEmMCQG # A1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENBIDIwMTAwggEiMA0GCSqGSIb3 # DQEBAQUAA4IBDwAwggEKAoIBAQCpHQ28dxGKOiDs/BOX9fp/aZRrdFQQ1aUKAIKF # ++18aEssX8XD5WHCdrc+Zitb8BVTJwQxH0EbGpUdzgkTjnxhMFmxMEQP8WCIhFRD # DNdNuDgIs0Ldk6zWczBXJoKjRQ3Q6vVHgc2/JGAyWGBG8lhHhjKEHnRhZ5FfgVSx # z5NMksHEpl3RYRNuKMYa+YaAu99h/EbBJx0kZxJyGiGKr0tkiVBisV39dx898Fd1 # rL2KQk1AUdEPnAY+Z3/1ZsADlkR+79BL/W7lmsqxqPJ6Kgox8NpOBpG2iAg16Hgc # sOmZzTznL0S6p/TcZL2kAcEgCZN4zfy8wMlEXV4WnAEFTyJNAgMBAAGjggHmMIIB # 4jAQBgkrBgEEAYI3FQEEAwIBADAdBgNVHQ4EFgQU1WM6XIoxkPNDe3xGG8UzaFqF # bVUwGQYJKwYBBAGCNxQCBAweCgBTAHUAYgBDAEEwCwYDVR0PBAQDAgGGMA8GA1Ud # EwEB/wQFMAMBAf8wHwYDVR0jBBgwFoAU1fZWy4/oolxiaNE9lJBb186aGMQwVgYD # VR0fBE8wTTBLoEmgR4ZFaHR0cDovL2NybC5taWNyb3NvZnQuY29tL3BraS9jcmwv # cHJvZHVjdHMvTWljUm9vQ2VyQXV0XzIwMTAtMDYtMjMuY3JsMFoGCCsGAQUFBwEB # BE4wTDBKBggrBgEFBQcwAoY+aHR0cDovL3d3dy5taWNyb3NvZnQuY29tL3BraS9j # ZXJ0cy9NaWNSb29DZXJBdXRfMjAxMC0wNi0yMy5jcnQwgaAGA1UdIAEB/wSBlTCB # kjCBjwYJKwYBBAGCNy4DMIGBMD0GCCsGAQUFBwIBFjFodHRwOi8vd3d3Lm1pY3Jv # c29mdC5jb20vUEtJL2RvY3MvQ1BTL2RlZmF1bHQuaHRtMEAGCCsGAQUFBwICMDQe # MiAdAEwAZQBnAGEAbABfAFAAbwBsAGkAYwB5AF8AUwB0AGEAdABlAG0AZQBuAHQA # LiAdMA0GCSqGSIb3DQEBCwUAA4ICAQAH5ohRDeLG4Jg/gXEDPZ2joSFvs+umzPUx # vs8F4qn++ldtGTCzwsVmyWrf9efweL3HqJ4l4/m87WtUVwgrUYJEEvu5U4zM9GAS # inbMQEBBm9xcF/9c+V4XNZgkVkt070IQyK+/f8Z/8jd9Wj8c8pl5SpFSAK84Dxf1 # L3mBZdmptWvkx872ynoAb0swRCQiPM/tA6WWj1kpvLb9BOFwnzJKJ/1Vry/+tuWO # M7tiX5rbV0Dp8c6ZZpCM/2pif93FSguRJuI57BlKcWOdeyFtw5yjojz6f32WapB4 # pm3S4Zz5Hfw42JT0xqUKloakvZ4argRCg7i1gJsiOCC1JeVk7Pf0v35jWSUPei45 # V3aicaoGig+JFrphpxHLmtgOR5qAxdDNp9DvfYPw4TtxCd9ddJgiCGHasFAeb73x # 4QDf5zEHpJM692VHeOj4qEir995yfmFrb3epgcunCaw5u+zGy9iCtHLNHfS4hQEe # gPsbiSpUObJb2sgNVZl6h3M7COaYLeqN4DMuEin1wC9UJyH3yKxO2ii4sanblrKn # QqLJzxlBTeCG+SqaoxFmMNO7dDJL32N79ZmKLxvHIa9Zta7cRDyXUHHXodLFVeNp # 3lfB0d4wwP3M5k37Db9dT+mdHhk4L7zPWAUu7w2gUDXa7wknHNWzfjUeCLraNtvT # X4/edIhJEqGCAs4wggI3AgEBMIH4oYHQpIHNMIHKMQswCQYDVQQGEwJVUzETMBEG # A1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwGA1UEChMVTWlj # cm9zb2Z0IENvcnBvcmF0aW9uMSUwIwYDVQQLExxNaWNyb3NvZnQgQW1lcmljYSBP # cGVyYXRpb25zMSYwJAYDVQQLEx1UaGFsZXMgVFNTIEVTTjozQkJELUUzMzgtRTlB # MTElMCMGA1UEAxMcTWljcm9zb2Z0IFRpbWUtU3RhbXAgU2VydmljZaIjCgEBMAcG # BSsOAwIaAxUA6CIM4qrSBzqcjNeHUndeKXgqq+iggYMwgYCkfjB8MQswCQYDVQQG # EwJVUzETMBEGA1UECBMKV2FzaGluZ3RvbjEQMA4GA1UEBxMHUmVkbW9uZDEeMBwG # A1UEChMVTWljcm9zb2Z0IENvcnBvcmF0aW9uMSYwJAYDVQQDEx1NaWNyb3NvZnQg # VGltZS1TdGFtcCBQQ0EgMjAxMDANBgkqhkiG9w0BAQUFAAIFAOV34ZEwIhgPMjAy # MTEyMzAxNTQzMTNaGA8yMDIxMTIzMTE1NDMxM1owdzA9BgorBgEEAYRZCgQBMS8w # LTAKAgUA5XfhkQIBADAKAgEAAgIanQIB/zAHAgEAAgISNDAKAgUA5XkzEQIBADA2 # BgorBgEEAYRZCgQCMSgwJjAMBgorBgEEAYRZCgMCoAowCAIBAAIDB6EgoQowCAIB # AAIDAYagMA0GCSqGSIb3DQEBBQUAA4GBAJU+vm9uhpWOHnoaBc2RJU+n4o7GPmyu # kE7c5dz1Bxf1cjAanrnrsmVvDO0M94xqrq4KchMMhNzuwKbCThi5/bzhhPkQiDTB # KU4b4n3F60EwTZvOmc4Wgfu1mkuK8lbKo7wz8q2Xft8VP19By0nVQeNJbHX0jIUd # ZVKKvmxFUIy1MYIDDTCCAwkCAQEwgZMwfDELMAkGA1UEBhMCVVMxEzARBgNVBAgT # Cldhc2hpbmd0b24xEDAOBgNVBAcTB1JlZG1vbmQxHjAcBgNVBAoTFU1pY3Jvc29m # dCBDb3Jwb3JhdGlvbjEmMCQGA1UEAxMdTWljcm9zb2Z0IFRpbWUtU3RhbXAgUENB # IDIwMTACEzMAAAFPZC519noDWoMAAAAAAU8wDQYJYIZIAWUDBAIBBQCgggFKMBoG # CSqGSIb3DQEJAzENBgsqhkiG9w0BCRABBDAvBgkqhkiG9w0BCQQxIgQgiRQa2v7B # TmZVoRqr4FI0aEsWwEY38CQ35JIWe1jqg1MwgfoGCyqGSIb3DQEJEAIvMYHqMIHn # MIHkMIG9BCAAZyYQ9oJYpMDGciFtGHJ6Q8+q+HltMI0QxcbBALU3AjCBmDCBgKR+ # MHwxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpXYXNoaW5ndG9uMRAwDgYDVQQHEwdS # ZWRtb25kMR4wHAYDVQQKExVNaWNyb3NvZnQgQ29ycG9yYXRpb24xJjAkBgNVBAMT # HU1pY3Jvc29mdCBUaW1lLVN0YW1wIFBDQSAyMDEwAhMzAAABT2QudfZ6A1qDAAAA # AAFPMCIEIHLxnqvU9pfFofeYEBID6GISkqMTdGI1kiPDPvSIyK6KMA0GCSqGSIb3 # DQEBCwUABIIBABUIBSXGlljaup8Wm0W4hyULIDrDUBVtv/AYzRcZwRBXJ11lXNOs # p4mYnk9MezBJbaWOogQPoZ9wbN7F88/fARmzON52Yx5HkcTBIckxCNt54sipbNKg # dGKtwPu9msdafqKiWsq+SMMYmvm4JGohvYe3JW6rVc8gg9yLxdbmylTFGqhYLy4X # MKhQZuySQcFdVC2UzR/h52vMC/stFPibvForgvpNSj6vOsoRcJeYOZ+UMoEkqsnW # 9YaYt9tJrXHx2TzQf1bjlQsem7a9Ezyz2Wt075waGEkTmb3yxaIsKY13SdEpEDWO # bGpARYV9+UhTw6oEOM6NxiKIlNbqBNKrMoM= # SIG # End signature block |