New-AzFirewallPolicyExplicitProxy

Creates a new Explicit Proxy

Syntax

New-AzFirewallPolicyExplicitProxy
   [-EnableExplicitProxy]
   [-HttpPort <Int32>]
   [-HttpsPort <Int32>]
   [-EnablePacFile]
   [-PacFilePort <Int32>]
   [-PacFile <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The New-AzFirewallPolicyExplicitProxy cmdlet creates an explicit proxy

Examples

Example 1

New-AzFirewallPolicyExplicitProxy -EnableExplicitProxy  -HttpPort 100 -HttpsPort 101 -EnablePacFile  -PacFilePort 130 -PacFile "sampleurlfortesting.blob.core.windowsnet/nothing"

EnableExplicitProxy	: true	
		EnablePacFile	    : true	
		HttpPort	        : 100	
		HttpsPort	        : 101	
		PacFile	            : "sampleurlfortesting.blob.core.windowsnet/nothing"
		PacFilePort	        : 130

This example creates an explicit proxy with provided settings

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
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

-EnableExplicitProxy

Enable Explicit Proxy. By default it is disabled.

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

-EnablePacFile

Enable PAC File. By default it is disabled.

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

-HttpPort

Port number for explicit proxy http protocol.

Type:Nullable<T>[Int32]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-HttpsPort

Port number for explicit proxy https protocol.

Type:Nullable<T>[Int32]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PacFile

SAS URL for PAC file.

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

-PacFilePort

Port number for firewall to serve PAC file.

Type:Nullable<T>[Int32]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

PSAzureFirewallPolicyExplicitProxy