Skip to content
DocsTry Aspire
DocsTry

AzureSubnetResource.denyInbound

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

Signature

methoddenyInboundbuilder
Adds an inbound deny rule to the subnet's Network Security Group.
denyInbound(
port?: string,
from?: string,
to?: string,
protocol?: SecurityRuleProtocol,
priority?: number,
name?: string): AzureSubnetResource
portstringoptional
fromstringoptional
tostringoptional
protocolSecurityRuleProtocoloptional
prioritynumberoptional
namestringoptional
AzureSubnetResource

Defined on

This method is defined on the following type: