Skip to content
Docs Try Aspire

denyInbound

Function
📦 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

Applies to

This function is an extension method on the following types: