Skip to content
Docs Try Aspire

AzureSubnetResource.allowInbound

Method
📦 Aspire.Hosting.Azure.Sql v13.2.0
interface AzureSubnetResource {
// ... omitted for brevity
allowInbound(
port?: string,
from?: string,
to?: string,
protocol?: SecurityRuleProtocol,
priority?: number,
name?: string): AzureSubnetResource;
}

Signature

method allowInbound builder
Adds an inbound allow rule to the Azure subnet resource's Network Security Group.
allowInbound(
port?: string,
from?: string,
to?: string,
protocol?: SecurityRuleProtocol,
priority?: number,
name?: string): AzureSubnetResource
port string optional
from string optional
to string optional
protocol SecurityRuleProtocol optional
priority number optional
name string optional
AzureSubnetResource

Defined on

This method is defined on the following type: