Tooling/Types/Mocked/ActionTypes/AzureKeyVault.ps1
@{ Clean = { Param([ConfigAutomationContext] $context,[UIAction] $action) return $true }; Action = { Param([ConfigAutomationContext] $context,[UIAction] $action) $extracted = $action.Parameters().Extract(@("KeyVault", "SecretFilter")) return $true }; CanExecute = { Param([ConfigAutomationContext] $context,[UIAction] $action) return $true }; Validate = { Param([ConfigAutomationContext] $context,[UIAction] $action) if(-not $action.Parameters().Validate(@("KeyVault", "SecretFilter"))){ return $false } return $true }; } |