Tooling/Types/Mocked/ActionTypes/AzureAppServiceDeploy.ps1

@{
    Clean = 
    {
        Param([ConfigAutomationContext] $context,[UIAction] $action)
        return $true
    };
    Action = 
    {
        Param([ConfigAutomationContext] $context,[UIAction] $action)
        
        $extracted = $action.Parameters().Extract(@("AppType", "AppServiceName", "PackageOrFolder"))
        
        return $true
    };
    CanExecute = 
    {
        Param([ConfigAutomationContext] $context,[UIAction] $action)
        return $true
    };
    Validate = 
    {
        Param([ConfigAutomationContext] $context,[UIAction] $action)

        if(-not $action.Parameters().Validate(@("AppType", "AppServiceName", "PackageOrFolder"))){
            return $false
        }
        
        
        return $true
    };
    
}