App.Autorest/custom/Update-AzContainerApp.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
Patches a Container App using JSON Merge Patch
.Description
Patches a Container App using JSON Merge Patch
.Example
$newSecretObject = New-AzContainerAppSecretObject -Name "yourkey" -Value "yourvalue"
$configuration = New-AzContainerAppConfigurationObject -DaprEnabled:$True -DaprAppPort 3000 -DaprAppProtocol "http" -DaprHttpReadBufferSize 30 -DaprHttpMaxRequestSize 10 -DaprLogLevel "debug" -DaprEnableApiLogging:$True -MaxInactiveRevision 10 -ServiceType "redis" -Secret $newSecretObject
 
Update-AzContainerApp -ContainerAppName azps-containerapp-1 -ResourceGroupName azps_test_group_app -Configuration $configuration -Tag @{"123"="abc"}
.Example
$secretObject = Get-AzContainerAppSecret -ContainerAppName azps-containerapp-1 -ResourceGroupName azps_test_group_app
$newSecretObject1 = New-AzContainerAppSecretObject -Name "yourkey" -Value "yourvalue"
$newSecretObject2 = New-AzContainerAppSecretObject -Name $secretObject.Name -Value $secretObject.Value -Identity $secretObject.Identity -KeyVaultUrl $secretObject.KeyVaultUrl
$configuration = New-AzContainerAppConfigurationObject -DaprEnabled:$True -DaprAppPort 3000 -DaprAppProtocol "http" -DaprHttpReadBufferSize 30 -DaprHttpMaxRequestSize 10 -DaprLogLevel "debug" -DaprEnableApiLogging:$True -MaxInactiveRevision 10 -ServiceType "redis" -Secret $newSecretObject1,$newSecretObject2
 
Update-AzContainerApp -ContainerAppName azps-containerapp-1 -ResourceGroupName azps_test_group_app -Configuration $configuration -Tag @{"123"="abc"}
 
.Inputs
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppIdentity
.Outputs
Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerApp
.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.
 
CONFIGURATION <IConfiguration>: Non versioned Container App configuration properties.
  [ActiveRevisionsMode <String>]: ActiveRevisionsMode controls how active revisions are handled for the Container app: <list><item>Multiple: multiple revisions can be active.</item><item>Single: Only one revision can be active at a time. Revision weights can not be used in this mode. If no value if provided, this is the default.</item></list>
  [CorPolicyAllowCredentials <Boolean?>]: Specifies whether the resource allows credentials
  [CorPolicyAllowedHeader <List<String>>]: Specifies the content for the access-control-allow-headers header
  [CorPolicyAllowedMethod <List<String>>]: Specifies the content for the access-control-allow-methods header
  [CorPolicyAllowedOrigin <List<String>>]: Specifies the content for the access-control-allow-origins header
  [CorPolicyExposeHeader <List<String>>]: Specifies the content for the access-control-expose-headers header
  [CorPolicyMaxAge <Int32?>]: Specifies the content for the access-control-max-age header
  [DaprAppId <String>]: Dapr application identifier
  [DaprAppPort <Int32?>]: Tells Dapr which port your application is listening on
  [DaprAppProtocol <String>]: Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http
  [DaprEnableApiLogging <Boolean?>]: Enables API logging for the Dapr sidecar
  [DaprEnabled <Boolean?>]: Boolean indicating if the Dapr side car is enabled
  [DaprHttpMaxRequestSize <Int32?>]: Increasing max size of request body http and grpc servers parameter in MB to handle uploading of big files. Default is 4 MB.
  [DaprHttpReadBufferSize <Int32?>]: Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.
  [DaprLogLevel <String>]: Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.
  [IngressAllowInsecure <Boolean?>]: Bool indicating if HTTP connections to is allowed. If set to false HTTP connections are automatically redirected to HTTPS connections
  [IngressClientCertificateMode <String>]: Client certificate mode for mTLS authentication. Ignore indicates server drops client certificate on forwarding. Accept indicates server forwards client certificate but does not require a client certificate. Require indicates server requires a client certificate.
  [IngressCustomDomain <List<ICustomDomain>>]: custom domain bindings for Container Apps' hostnames.
    Name <String>: Hostname.
    [BindingType <String>]: Custom Domain binding type.
    [CertificateId <String>]: Resource Id of the Certificate to be bound to this hostname. Must exist in the Managed Environment.
  [IngressExposedPort <Int32?>]: Exposed Port in containers for TCP traffic from ingress
  [IngressExternal <Boolean?>]: Bool indicating if app exposes an external http endpoint
  [IngressIPSecurityRestriction <List<IIPSecurityRestrictionRule>>]: Rules to restrict incoming IP address.
    Action <String>: Allow or Deny rules to determine for incoming IP. Note: Rules can only consist of ALL Allow or ALL Deny
    IPAddressRange <String>: CIDR notation to match incoming IP address
    Name <String>: Name for the IP restriction rule.
    [Description <String>]: Describe the IP restriction rule that is being sent to the container-app. This is an optional field.
  [IngressTargetPort <Int32?>]: Target Port in containers for traffic from ingress
  [IngressTraffic <List<ITrafficWeight>>]: Traffic weights for app's revisions
    [Label <String>]: Associates a traffic label with a revision
    [LatestRevision <Boolean?>]: Indicates that the traffic weight belongs to a latest stable revision
    [RevisionName <String>]: Name of a revision
    [Weight <Int32?>]: Traffic weight assigned to a revision
  [IngressTransport <String>]: Ingress transport protocol
  [MaxInactiveRevision <Int32?>]: Optional. Max inactive revisions a Container App can have.
  [Registry <List<IRegistryCredentials>>]: Collection of private container registry credentials for containers used by the Container app
    [Identity <String>]: A Managed Identity to use to authenticate with Azure Container Registry. For user-assigned identities, use the full user-assigned identity Resource ID. For system-assigned identities, use 'system'
    [PasswordSecretRef <String>]: The name of the Secret that contains the registry login password
    [Server <String>]: Container Registry Server
    [Username <String>]: Container Registry Username
  [Secret <List<ISecret>>]: Collection of secrets used by a Container app
    [Identity <String>]: Resource ID of a managed identity to authenticate with Azure Key Vault, or System to use a system-assigned identity.
    [KeyVaultUrl <String>]: Azure Key Vault URL pointing to the secret referenced by the container app.
    [Name <String>]: Secret Name.
    [Value <String>]: Secret Value.
  [ServiceType <String>]: Dev ContainerApp service type
  [StickySessionAffinity <String>]: Sticky Session Affinity
 
INPUTOBJECT <IAppIdentity>: Identity Parameter
  [AuthConfigName <String>]: Name of the Container App AuthConfig.
  [CertificateName <String>]: Name of the Certificate.
  [ComponentName <String>]: Name of the Dapr Component.
  [ConnectedEnvironmentName <String>]: Name of the connectedEnvironment.
  [ContainerAppName <String>]: Name of the Container App.
  [DetectorName <String>]: Name of the Container App Detector.
  [EnvironmentName <String>]: Name of the Environment.
  [Id <String>]: Resource identity path
  [JobExecutionName <String>]: Job execution name.
  [JobName <String>]: Job Name
  [Location <String>]: The name of Azure region.
  [ManagedCertificateName <String>]: Name of the Managed Certificate.
  [ReplicaName <String>]: Name of the Container App Revision Replica.
  [ResourceGroupName <String>]: The name of the resource group. The name is case insensitive.
  [RevisionName <String>]: Name of the Container App Revision.
  [SourceControlName <String>]: Name of the Container App SourceControl.
  [StorageName <String>]: Name of the storage.
  [SubscriptionId <String>]: The ID of the target subscription.
 
SCALERULE <IScaleRule[]>: Scaling rules.
  [AzureQueueAuth <List<IScaleRuleAuth>>]: Authentication secrets for the queue scale rule.
    [SecretRef <String>]: Name of the secret from which to pull the auth params.
    [TriggerParameter <String>]: Trigger Parameter that uses the secret
  [AzureQueueLength <Int32?>]: Queue length.
  [AzureQueueName <String>]: Queue name.
  [CustomAuth <List<IScaleRuleAuth>>]: Authentication secrets for the custom scale rule.
  [CustomMetadata <ICustomScaleRuleMetadata>]: Metadata properties to describe custom scale rule.
    [(Any) <String>]: This indicates any property can be added to this object.
  [CustomType <String>]: Type of the custom scale rule eg: azure-servicebus, redis etc.
  [HttpAuth <List<IScaleRuleAuth>>]: Authentication secrets for the custom scale rule.
  [HttpMetadata <IHttpScaleRuleMetadata>]: Metadata properties to describe http scale rule.
    [(Any) <String>]: This indicates any property can be added to this object.
  [Name <String>]: Scale Rule Name
  [TcpAuth <List<IScaleRuleAuth>>]: Authentication secrets for the tcp scale rule.
  [TcpMetadata <ITcpScaleRuleMetadata>]: Metadata properties to describe tcp scale rule.
    [(Any) <String>]: This indicates any property can be added to this object.
 
TEMPLATECONTAINER <IContainer[]>: List of container definitions for the Container App.
  [Arg <List<String>>]: Container start command arguments.
  [Command <List<String>>]: Container start command.
  [Env <List<IEnvironmentVar>>]: Container environment variables.
    [Name <String>]: Environment variable name.
    [SecretRef <String>]: Name of the Container App secret from which to pull the environment variable value.
    [Value <String>]: Non-secret environment variable value.
  [Image <String>]: Container image tag.
  [Name <String>]: Custom container name.
  [ResourceCpu <Double?>]: Required CPU in cores, e.g. 0.5
  [ResourceMemory <String>]: Required memory, e.g. "250Mb"
  [VolumeMount <List<IVolumeMount>>]: Container volume mounts.
    [MountPath <String>]: Path within the container at which the volume should be mounted.Must not contain ':'.
    [SubPath <String>]: Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
    [VolumeName <String>]: This must match the Name of a Volume.
  [Probe <List<IContainerAppProbe>>]: List of probes for the container.
    [FailureThreshold <Int32?>]: Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. Maximum value is 10.
    [HttpGetHost <String>]: Host name to connect to, defaults to the pod IP. You probably want to set "Host" in httpHeaders instead.
    [HttpGetHttpHeader <List<IContainerAppProbeHttpGetHttpHeadersItem>>]: Custom headers to set in the request. HTTP allows repeated headers.
      Name <String>: The header field name
      Value <String>: The header field value
    [HttpGetPath <String>]: Path to access on the HTTP server.
    [HttpGetPort <Int32?>]: Name or number of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    [HttpGetScheme <String>]: Scheme to use for connecting to the host. Defaults to HTTP.
    [InitialDelaySecond <Int32?>]: Number of seconds after the container has started before liveness probes are initiated. Minimum value is 1. Maximum value is 60.
    [PeriodSecond <Int32?>]: How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value is 240.
    [SuccessThreshold <Int32?>]: Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness and startup. Minimum value is 1. Maximum value is 10.
    [TcpSocketHost <String>]: Optional: Host name to connect to, defaults to the pod IP.
    [TcpSocketPort <Int32?>]: Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
    [TerminationGracePeriodSecond <Int64?>]: Optional duration in seconds the pod needs to terminate gracefully upon probe failure. The grace period is the duration in seconds after the processes running in the pod are sent a termination signal and the time when the processes are forcibly halted with a kill signal. Set this value longer than the expected cleanup time for your process. If this value is nil, the pod's terminationGracePeriodSeconds will be used. Otherwise, this value overrides the value provided by the pod spec. Value must be non-negative integer. The value zero indicates stop immediately via the kill signal (no opportunity to shut down). This is an alpha field and requires enabling ProbeTerminationGracePeriod feature gate. Maximum value is 3600 seconds (1 hour)
    [TimeoutSecond <Int32?>]: Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 240.
    [Type <String>]: The type of probe.
 
TEMPLATEINITCONTAINER <IInitContainer[]>: List of specialized containers that run before app containers.
  [Arg <List<String>>]: Container start command arguments.
  [Command <List<String>>]: Container start command.
  [Env <List<IEnvironmentVar>>]: Container environment variables.
    [Name <String>]: Environment variable name.
    [SecretRef <String>]: Name of the Container App secret from which to pull the environment variable value.
    [Value <String>]: Non-secret environment variable value.
  [Image <String>]: Container image tag.
  [Name <String>]: Custom container name.
  [ResourceCpu <Double?>]: Required CPU in cores, e.g. 0.5
  [ResourceMemory <String>]: Required memory, e.g. "250Mb"
  [VolumeMount <List<IVolumeMount>>]: Container volume mounts.
    [MountPath <String>]: Path within the container at which the volume should be mounted.Must not contain ':'.
    [SubPath <String>]: Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).
    [VolumeName <String>]: This must match the Name of a Volume.
 
TEMPLATESERVICEBIND <IServiceBind[]>: List of container app services bound to the app
  [Name <String>]: Name of the service bind
  [ServiceId <String>]: Resource id of the target service
 
TEMPLATEVOLUME <IVolume[]>: List of volume definitions for the Container App.
  [MountOption <String>]: Mount options used while mounting the AzureFile. Must be a comma-separated string.
  [Name <String>]: Volume name.
  [Secret <List<ISecretVolumeItem>>]: List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume.
    [Path <String>]: Path to project secret to. If no path is provided, path defaults to name of secret listed in secretRef.
    [SecretRef <String>]: Name of the Container App secret from which to pull the secret value.
  [StorageName <String>]: Name of storage resource. No need to provide for EmptyDir and Secret.
  [StorageType <String>]: Storage type for the volume. If not provided, use EmptyDir.
.Link
https://learn.microsoft.com/powershell/module/az.app/update-azcontainerapp
#>

function Update-AzContainerApp {
  [OutputType([Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainerApp])]
  [CmdletBinding(DefaultParameterSetName = 'UpdateExpanded', PositionalBinding = $false, SupportsShouldProcess, ConfirmImpact = 'Medium')]
  param(
    [Parameter(ParameterSetName = 'UpdateExpanded', Mandatory)]
    [Parameter(ParameterSetName = 'UpdateViaJsonFilePath', Mandatory)]
    [Parameter(ParameterSetName = 'UpdateViaJsonString', Mandatory)]
    [Alias('ContainerAppName')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Path')]
    [System.String]
    # Name of the Container App.
    ${Name},

    [Parameter(ParameterSetName = 'UpdateExpanded', Mandatory)]
    [Parameter(ParameterSetName = 'UpdateViaJsonFilePath', Mandatory)]
    [Parameter(ParameterSetName = 'UpdateViaJsonString', Mandatory)]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Path')]
    [System.String]
    # The name of the resource group.
    # The name is case insensitive.
    ${ResourceGroupName},

    [Parameter(ParameterSetName = 'UpdateExpanded')]
    [Parameter(ParameterSetName = 'UpdateViaJsonFilePath')]
    [Parameter(ParameterSetName = 'UpdateViaJsonString')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Path')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.DefaultInfo(Script = '(Get-AzContext).Subscription.Id')]
    [System.String]
    # The ID of the target subscription.
    ${SubscriptionId},

    [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded', Mandatory, ValueFromPipeline)]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Path')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Models.IAppIdentity]
    # Identity Parameter
    ${InputObject},

    [Parameter(ParameterSetName = 'UpdateExpanded')]
    [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Models.IConfiguration]
    # Non versioned Container App configuration properties.
    ${Configuration},

    [Parameter(ParameterSetName = 'UpdateExpanded')]
    [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Body')]
    [System.String]
    # The name of the extended location.
    ${ExtendedLocationName},

    [Parameter(ParameterSetName = 'UpdateExpanded')]
    [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.PSArgumentCompleterAttribute("CustomLocation")]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Body')]
    [System.String]
    # The type of the extended location.
    ${ExtendedLocationType},

    [Parameter(ParameterSetName = 'UpdateExpanded')]
    [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Body')]
    [System.Nullable[System.Boolean]]
    # Determines whether to enable a system-assigned identity for the resource.
    ${EnableSystemAssignedIdentity},

    [Parameter(ParameterSetName = 'UpdateExpanded')]
    [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Body')]
    [System.String]
    # The fully qualified resource ID of the resource that manages this resource.
    # Indicates if this resource is managed by another Azure resource.
    # If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
    ${ManagedBy},

    [Parameter(ParameterSetName = 'UpdateExpanded')]
    [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Body')]
    [System.Int32]
    # Optional.
    # Maximum number of container replicas.
    # Defaults to 10 if not set.
    ${ScaleMaxReplica},

    [Parameter(ParameterSetName = 'UpdateExpanded')]
    [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Body')]
    [System.Int32]
    # Optional.
    # Minimum number of container replicas.
    ${ScaleMinReplica},

    [Parameter(ParameterSetName = 'UpdateExpanded')]
    [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded')]
    [AllowEmptyCollection()]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Models.IScaleRule[]]
    # Scaling rules.
    ${ScaleRule},

    [Parameter(ParameterSetName = 'UpdateExpanded')]
    [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.Info(PossibleTypes = ([Microsoft.Azure.PowerShell.Cmdlets.App.Models.ITrackedResourceTags]))]
    [System.Collections.Hashtable]
    # Resource tags.
    ${Tag},

    [Parameter(ParameterSetName = 'UpdateExpanded')]
    [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded')]
    [AllowEmptyCollection()]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Models.IContainer[]]
    # List of container definitions for the Container App.
    ${TemplateContainer},

    [Parameter(ParameterSetName = 'UpdateExpanded')]
    [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded')]
    [AllowEmptyCollection()]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Models.IInitContainer[]]
    # List of specialized containers that run before app containers.
    ${TemplateInitContainer},

    [Parameter(ParameterSetName = 'UpdateExpanded')]
    [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Body')]
    [System.String]
    # User friendly suffix that is appended to the revision name
    ${TemplateRevisionSuffix},

    [Parameter(ParameterSetName = 'UpdateExpanded')]
    [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded')]
    [AllowEmptyCollection()]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Models.IServiceBind[]]
    # List of container app services bound to the app
    ${TemplateServiceBind},

    [Parameter(ParameterSetName = 'UpdateExpanded')]
    [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Body')]
    [System.Int64]
    # Optional duration in seconds the Container App Instance needs to terminate gracefully.
    # Value must be non-negative integer.
    # The value zero indicates stop immediately via the kill signal (no opportunity to shut down).
    # If this value is nil, the default grace period will be used instead.
    # Set this value longer than the expected cleanup time for your process.
    # Defaults to 30 seconds.
    ${TemplateTerminationGracePeriodSecond},

    [Parameter(ParameterSetName = 'UpdateExpanded')]
    [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded')]
    [AllowEmptyCollection()]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Body')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Models.IVolume[]]
    # List of volume definitions for the Container App.
    ${TemplateVolume},

    [Parameter(ParameterSetName = 'UpdateExpanded')]
    [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded')]
    [AllowEmptyCollection()]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Body')]
    [System.String[]]
    # The array of user assigned identities associated with the resource.
    # The elements in array will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}.'
    ${UserAssignedIdentity},

    [Parameter(ParameterSetName = 'UpdateExpanded')]
    [Parameter(ParameterSetName = 'UpdateViaIdentityExpanded')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Body')]
    [System.String]
    # Workload profile name to pin for container app execution.
    ${WorkloadProfileName},

    [Parameter(ParameterSetName = 'UpdateViaJsonFilePath', Mandatory)]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Body')]
    [System.String]
    # Path of Json file supplied to the Update operation
    ${JsonFilePath},

    [Parameter(ParameterSetName = 'UpdateViaJsonString', Mandatory)]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Body')]
    [System.String]
    # Json string supplied to the Update operation
    ${JsonString},

    [Parameter()]
    [Alias('AzureRMContext', 'AzureCredential')]
    [ValidateNotNull()]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Azure')]
    [System.Management.Automation.PSObject]
    # The DefaultProfile parameter is not functional.
    # Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.
    ${DefaultProfile},

    [Parameter()]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Run the command as a job
    ${AsJob},

    [Parameter(DontShow)]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Wait for .NET debugger to attach
    ${Break},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Runtime')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be appended to the front of the pipeline
    ${HttpPipelineAppend},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Runtime')]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Runtime.SendAsyncStep[]]
    # SendAsync Pipeline Steps to be prepended to the front of the pipeline
    ${HttpPipelinePrepend},

    [Parameter()]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Run the command asynchronously
    ${NoWait},

    [Parameter(DontShow)]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Runtime')]
    [System.Uri]
    # The URI for the proxy server to use
    ${Proxy},

    [Parameter(DontShow)]
    [ValidateNotNull()]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Runtime')]
    [System.Management.Automation.PSCredential]
    # Credentials for a proxy server to use for the remote call
    ${ProxyCredential},

    [Parameter(DontShow)]
    [Microsoft.Azure.PowerShell.Cmdlets.App.Category('Runtime')]
    [System.Management.Automation.SwitchParameter]
    # Use the default credentials for the proxy
    ${ProxyUseDefaultCredentials}
  )

  process {
    if ($PSBoundParameters.ContainsKey('EnableSystemAssignedIdentity') -or $PSBoundParameters.ContainsKey('UserAssignedIdentity') ) {
      # Get ContainerApp DataObj
      $parameterSet = $PSCmdlet.ParameterSetName
      if (('UpdateExpanded') -contains $parameterSet) {
        $containerAppObj = Az.App\Get-AzContainerApp -Name $Name -ResourceGroupName $ResourceGroupName
      }
      elseif (('UpdateViaIdentityExpanded') -contains $parameterSet) {
        $containerAppObj = Az.App\Get-AzContainerApp -InputObject $InputObject
      }
      if ($null -eq $containerAppObj) {
        throw "$Name doesn't exist"
      }

      # If user input UserAssignedIdentity
      if ($PSBoundParameters.ContainsKey('UserAssignedIdentity')) {
        $userIdentityObject = [Microsoft.Azure.PowerShell.Cmdlets.App.Models.UserAssignedIdentity]::New()
        $PSBoundParameters.IdentityUserAssignedIdentity = @{}
        foreach ($item in $PSBoundParameters.UserAssignedIdentity) {
          $PSBoundParameters.IdentityUserAssignedIdentity.Add($item, $userIdentityObject )
        }
        
        if ($containerAppObj.IdentityUserAssignedIdentity.Count -gt 0) {
          $containerAppObj.IdentityUserAssignedIdentity.Keys | ForEach-Object {
            if (-NOT($_ -in $UserAssignedIdentity)) {
              $PSBoundParameters.IdentityUserAssignedIdentity.Add($_, $null)
            }
          }
        }
      }

      # calculate IdentityType
      $supportsSystemAssignedIdentity = $EnableSystemAssignedIdentity -or (($null -eq $EnableSystemAssignedIdentity) -and ($containerAppObj.IdentityType.Contains('SystemAssigned')))
      $supportsUserAssignedIdentity = ($PSBoundParameters.ContainsKey('UserAssignedIdentity') -and $UserAssignedIdentity.Length -gt 0) -or ((-not $PSBoundParameters.ContainsKey('UserAssignedIdentity')) -and ($containerAppObj.IdentityType.Contains('UserAssigned')));
      if (($supportsSystemAssignedIdentity -and $supportsUserAssignedIdentity)) {
        $PSBoundParameters.Add("IdentityType", "SystemAssigned,UserAssigned")
      }
      elseif ($supportsUserAssignedIdentity -and (-not $supportsSystemAssignedIdentity)) {
        $PSBoundParameters.Add("IdentityType", "UserAssigned")
      }
      elseif ((-not $supportsUserAssignedIdentity) -and $supportsSystemAssignedIdentity) {
        $PSBoundParameters.Add("IdentityType", "SystemAssigned")
      }
      else {
        $PSBoundParameters.Add("IdentityType", "None")
      }

      # remove EnableSystemAssignedIdentity
      if ($PSBoundParameters.ContainsKey('EnableSystemAssignedIdentity')) {
        $null = $PSBoundParameters.Remove("EnableSystemAssignedIdentity")
      }
      # remove UserAssignedIdentity
      if ($PSBoundParameters.ContainsKey('UserAssignedIdentity')) {
        $null = $PSBoundParameters.Remove('UserAssignedIdentity')
      }
    }
    Az.App.internal\Update-AzContainerApp @PSBoundParameters
  }
}

# SIG # Begin signature block
# MIIoOQYJKoZIhvcNAQcCoIIoKjCCKCYCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCCjQ1zyNPEcU+Yr
# 7K2mOebeBynsvCnPYBk+sgRO5Hw0hqCCDYUwggYDMIID66ADAgECAhMzAAAEA73V
# lV0POxitAAAAAAQDMA0GCSqGSIb3DQEBCwUAMH4xCzAJBgNVBAYTAlVTMRMwEQYD
# VQQIEwpXYXNoaW5ndG9uMRAwDgYDV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