AzureSubnetResource.denyOutbound
Method
interface AzureSubnetResource { // ... omitted for brevity denyOutbound( port?: string, from?: string, to?: string, protocol?: SecurityRuleProtocol, priority?: number, name?: string): AzureSubnetResource;}Signature
method
denyOutbound builderAdds an outbound deny rule to the subnet's Network Security Group.
denyOutbound( port?: string, from?: string, to?: string, protocol?: SecurityRuleProtocol, priority?: number, name?: string): AzureSubnetResourceParameters
portstringoptionalThe destination port range (e.g., "443", "80-443"). Defaults to "*" (any).fromstringoptionalThe source address prefix. Defaults to "*" (any).tostringoptionalThe destination address prefix (e.g., "Internet", "VirtualNetwork"). Defaults to "*" (any).protocolSecurityRuleProtocol optionalThe network protocol. Defaults to `Asterisk` (any).prioritynumberoptionalThe rule priority (100-4096). If not specified, auto-increments from 100 by 100.namestringoptionalThe rule name. If not specified, auto-generated from parameters.Returns
AzureSubnetResource Defined on
This method is defined on the following type: