A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/powershell/module/az.functions/update-azfunctionapp below:

Update-AzFunctionApp (Az.Functions) | Microsoft Learn

Update-AzFunctionApp

Updates a function app.

Syntax ByName (Default)
Update-AzFunctionApp
    -ResourceGroupName <String>
    -Name <String>
    [-SubscriptionId <String>]
    [-PlanName <String>]
    [-Force]
    [-ApplicationInsightsName <String>]
    [-ApplicationInsightsKey <String>]
    [-Tag <Hashtable>]
    [-IdentityType <ManagedServiceIdentityType>]
    [-IdentityID <String[]>]
    [-DefaultProfile <PSObject>]
    [-NoWait]
    [-AsJob]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]
ByObjectInput
Update-AzFunctionApp
    -InputObject <ISite>
    [-PlanName <String>]
    [-Force]
    [-ApplicationInsightsName <String>]
    [-ApplicationInsightsKey <String>]
    [-Tag <Hashtable>]
    [-IdentityType <ManagedServiceIdentityType>]
    [-IdentityID <String[]>]
    [-DefaultProfile <PSObject>]
    [-NoWait]
    [-AsJob]
    [-WhatIf]
    [-Confirm]
    [<CommonParameters>]
Description

Updates a function app.

Examples Example 1: Update function app hosting plan.
Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -PlanName NewPlanName -Force

This command updates function app hosting plan.

Example 2: Set a SystemAssigned managed identity for a function app.
Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType SystemAssigned -Force

This command sets a SystemAssigned managed identity for a function app.

Example 3: Update function app Application Insights.
Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -ApplicationInsightsName ApplicationInsightsProjectName -Force

This command updates function app Application Insights.

Example 3: Remove managed identity from a function app.
Update-AzFunctionApp -Name MyUniqueFunctionAppName -ResourceGroupName MyResourceGroupName -IdentityType None -Force

This command removes a managed identity from a function app.

Parameters -ApplicationInsightsKey

Instrumentation key of App Insights to be added.

Parameter properties Type: String Default value: None Supports wildcards: False DontShow: False Aliases: AppInsightsKey Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -ApplicationInsightsName

Name of the existing App Insights project to be added to the function app.

Parameter properties Type: String Default value: None Supports wildcards: False DontShow: False Aliases: AppInsightsName Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -AsJob

Runs the cmdlet as a background job.

Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -Confirm

Prompts you for confirmation before running the cmdlet.

Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False Aliases: cf Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -DefaultProfile

Updates a function app.

Parameter properties Type: PSObject Default value: None Supports wildcards: False DontShow: False Aliases: AzureRMContext, AzureCredential Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -Force

Forces the cmdlet to update the function app without prompting for confirmation.

Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -IdentityID

Specifies the list of user identities associated with the function app. The user identity references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/identities/{identityName}'

Parameter properties Type:

String[]

Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -IdentityType

Specifies the type of identity used for the function app. The type 'None' will remove any identities from the function app. The acceptable values for this parameter are: - SystemAssigned - UserAssigned - None

Parameter properties Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -InputObject

To construct, see NOTES section for INPUTOBJECT properties and create a hash table.

Parameter properties Type: ISite Default value: None Supports wildcards: False DontShow: False Parameter sets ByObjectInput Position: Named Mandatory: True Value from pipeline: True Value from pipeline by property name: False Value from remaining arguments: False -Name

The name of the function app.

Parameter properties Type: String Default value: None Supports wildcards: False DontShow: False Parameter sets ByName Position: Named Mandatory: True Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -NoWait

Starts the operation and returns immediately, before the operation is completed. In order to determine if the operation has successfully been completed, use some other mechanism.

Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -PlanName

The name of the service plan.

Parameter properties Type: String Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -ResourceGroupName

The name of the resource group.

Parameter properties Type: String Default value: None Supports wildcards: False DontShow: False Parameter sets ByName Position: Named Mandatory: True Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -SubscriptionId

The Azure subscription ID.

Parameter properties Type: String Default value: (Get-AzContext).Subscription.Id Supports wildcards: False DontShow: False Parameter sets ByName Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -Tag

Resource tags.

Parameter properties Type: Hashtable Default value: None Supports wildcards: False DontShow: False Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False -WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Parameter properties Type: SwitchParameter Default value: None Supports wildcards: False DontShow: False Aliases: wi Parameter sets (All) Position: Named Mandatory: False Value from pipeline: False Value from pipeline by property name: False Value from remaining arguments: False CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs ISite Outputs ISite

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4