Get-PowerAppsCheckerRulesets
This topic is pre-release documentation and is subject to change.
Obtains the list of rulesets currently supported by the PowerApps checker service.
Syntax
Get-PowerAppsCheckerRulesets
[-TenantId <Guid>]
[[-Geography] <ApiGeography>]
[-MaxConnectionTimeOutMinutes <Int32>]
[<CommonParameters>]
Get-PowerAppsCheckerRulesets
[-TenantId <Guid>]
[-ApiUrl] <Uri>
[-MaxConnectionTimeOutMinutes <Int32>]
[<CommonParameters>]
Description
A ruleset is a collection of rules that can be referenced by name or Id. The Get-PowerAppsCheckerRulesets cmdlet obtains the list of rulesets currently supported by the PowerApps checker service. Both Get-PowerAppsCheckerRules
and Invoke-PowerAppsChecker
accept the result of this cmdlet as a parameter. An array of Microsoft.PowerApps.Checker.Client.Models.Ruleset
objects is returned.
Examples
Example 1
PS C:\> $rulesets = Get-PowerAppsCheckerRulesets
Returns the list of rulesets currently supported by the PowerApps checker service using the region in the United States.
Example 2
PS C:\> $rulesets = Get-PowerAppsCheckerRulesets -Geography Europe
Returns the list of rulesets currently supported by the PowerApps checker service using the Europe geography.
Parameters
-ApiUrl
URL of the PowerApps checker root service endpoint. Unless provided a direct URL from Microsoft, Geography should be used.
Type: | Uri |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Geography
When executing Invoke-PowerAppsChecker
the PowerApps checker service temporarily stores the data that you upload in Azure along with the reports that are generated. By specifying a geography, you can control where the data is stored. If no geography is specified, then the United States preview region is used. We recommend that you specify the same geography that will be provided to Invoke-PowerAppsChecker
. Each geography may have a different version at any given point in time and doing this ensures that there is version compatibility. In some cases, this can also reduce execution time as the data will not have to travel as far.
Type: | ApiGeography |
Accepted values: | PreviewUnitedStates, UnitedStates, Europe, Asia, Australia, Japan, India, Canada, SouthAmerica, UnitedKingdom, France |
Position: | 0 |
Default value: | PreviewUnitedStates |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-MaxConnectionTimeOutMinutes
Maximum number in minutes to wait before quitting the operation.
Type: | Int32 |
Position: | Named |
Default value: | 2 |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TenantId
Id of the tenant that is requesting the information. For normal usage this is not necessary to provide. This is also referred to as the directory Id.
Type: | Guid |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
System.Nullable`1[[System.Guid, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]
System.Uri
Microsoft.PowerApps.Checker.PowerShell.ApiGeography
System.Int32
Outputs
System.Object
Notes
We recommend that you periodically run this cmdlet to query the service for updates to the list of available rulesets.