denyInbound
Method
interface AzureSubnetResource { // ... omitted for brevity denyInbound( port?: string, from?: string, to?: string, protocol?: SecurityRuleProtocol, priority?: number, name?: string): AzureSubnetResource;}Signature
method
denyInbound builderAdds an inbound deny rule to the subnet's Network Security Group.
denyInbound( 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 (e.g., "Internet", "VirtualNetwork", "10.0.0.0/8"). Defaults to "*" (any).tostringoptionalThe destination address prefix. 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 Applies to
This method applies to the following types: