New-AzOffice365PolicyProperty
Define a new Office 365 traffic breakout policy to be used with a Virtual Appliance site.
Syntax
New-AzOffice365PolicyProperty
[-Allow]
[-Optimize]
[-Default]
[-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]
Description
The New-AzOffice365PolicyProperties command defines an Office 365 breakout policy that is to be used with a Virtual Appliance site.
Examples
Example 1
$o365Policy = New-AzOffice365PolicyProperty -Allow -Optimize
Create Office 365 traffic breakout policy object to be used with Virtual Appliance site commands.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure PowerShell