Skip to content
Docs Try Aspire

denyOutbound

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

Signature

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