Update-AzWebAppAccessRestrictionConfig

  Az.Websites
Module Version:

1.5.1

NAME:
Update-AzWebAppAccessRestrictionConfig
DESCRIPTION:

The Update-AzWebAppAccessRestrictionConfig cmdlet updates Access Restriction config for an Azure Web App.

EXAMPLES:

SYNTAX:

SYNOPSIS:
Updates the inheritance of Main site Access Restiction config to SCM Site for an Azure Web App.
INPUTS:

System.String

System.Management.Automation.SwitchParameter

OUTPUTS:

Microsoft.Azure.Commands.WebApps.Models.PSAccessRestrictionConfig

PARAMETERS:

-DefaultProfile
The credentials, account, tenant, and subscription used for communication with azure.

Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-InputObject
The access restriction config object

Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false

-Name
WebApp Name

Required? true
Position? 1
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false

-PassThru
Return the access restriction config object.

Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false

-ResourceGroupName
Resource Group Name

Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false

-ScmSiteUseMainSiteRestrictionConfig
Scm site inherits rules set on Main site.

Required? true
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false

-SlotName
Deployment Slot name.

Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false

-Confirm
Prompts you for confirmation before running the cmdlet.

Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false

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

Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

One Reply to “Update-AzWebAppAccessRestrictionConfig”

  • Hi, do we have option to revert the same??

    as we use “Update-AzWebAppAccessRestrictionConfig” to inheritance of Main site Access Restiction config to SCM Site for an Azure Web App, do we have ps script to uncheck the same?

LEAVE A COMMENT