AzureSubnetResource.allowInbound
Method
interface AzureSubnetResource { // ... omitted for brevity allowInbound( port?: string, from?: string, to?: string, protocol?: SecurityRuleProtocol, priority?: number, name?: string): AzureSubnetResource;}Signature
method
allowInbound builderAdds an inbound allow rule to the subnet's Network Security Group.
allowInbound( 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., "AzureLoadBalancer", "Internet", "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 Defined on
This method is defined on the following type: