Partager via


New-PowerAppPolicyUrlPatterns

Creates new URL patterns for a DLP policy by using the NewUrlPatterns UrlPatternsDefinition object.

Syntax

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.

Type:String
Position:Named
Default value:2016-11-01
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-NewUrlPatterns

Creates URL patterns for a policy with the NewUrlPatterns object.

Type:Object
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-PolicyName

The policy name identifier.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-TenantId

The tenant identifier.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False