Skip to content
Docs Try Aspire

AzureSubnetResource.denyOutbound

Method
📦 Aspire.Hosting.Azure.Sql 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

Defined on

This method is defined on the following type: