Skip to content
Docs Try Aspire

AzureSubnetResource.denyInbound

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

Signature

method denyInbound builder
Adds an inbound deny rule to the Azure subnet resource's Network Security Group.
denyInbound(
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: