New-PowerAppPolicyUrlPatterns
Creates new URL patterns for a DLP policy by using the NewUrlPatterns UrlPatternsDefinition
object.
Syntax
Default (Default)
New-PowerAppPolicyUrlPatterns
-TenantId <String>
-PolicyName <String>
-NewUrlPatterns <Object>
[-ApiVersion <String>]
[<CommonParameters>]
Description
The New-PolicyUrlPatterns cmdlet creates new URL patterns for the signed in admin's policy. Currently, this cmdlet is only enabled for polices at the tenant level. Use Get-Help New-PolicyUrlPatterns -Examples for more detail.
Examples
EXAMPLE 1
New-PolicyUrlPatterns -TenantId $TenantId -PolicyName $PolicyName -NewUrlPatterns $NewUrlPatterns;
Creates URL patterns for a policy with $TenantId
, $PolicyName
and $NewUrlPatterns
object.
Parameters
-ApiVersion
Specifies the Api version that is called.
Parameter properties
Type: | String |
Default value: | 2016-11-01 |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-NewUrlPatterns
Creates URL patterns for a policy with the NewUrlPatterns
object.
Parameter properties
Type: | Object |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-PolicyName
The policy name identifier.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-TenantId
The tenant identifier.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.