New-AzO365PolicyProperty
Create an office 365 traffic breakout policy object.
Syntax
New-AzO365PolicyProperty
[-Allow]
[-Optimize]
[-Default]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
Create an office 365 breakout policy to be used with New-AzVpnSite and Update-AzVpnSite cmdlets.
Examples
Example 1
$policy = New-AzO365PolicyProperty -Allow -Optimize
Create an office 365 traffic breakout policy with breakout allowed for allow and optimize category of traffic.
Parameters
-Allow
Breakout the allow category traffic.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Default
Breakout the default category traffic.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
The credentials, account, tenant, and subscription used for communication with Azure.
Type: | IAzureContextContainer |
Aliases: | AzContext, AzureRmContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Optimize
Breakout the optimize category traffic.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure PowerShell