AzureSubnetResource
Handle
interface AzureSubnetResource extends IResource, IResourceWithParent, AzureVirtualNetworkResource]] { addPrivateEndpoint(target: IAzurePrivateEndpointTarget): AzurePrivateEndpointResource; allowInbound( port?: string, from?: string, to?: string, protocol?: SecurityRuleProtocol, priority?: number, name?: string): AzureSubnetResource; allowOutbound( port?: string, from?: string, to?: string, protocol?: SecurityRuleProtocol, priority?: number, name?: string): AzureSubnetResource; denyInbound( port?: string, from?: string, to?: string, protocol?: SecurityRuleProtocol, priority?: number, name?: string): AzureSubnetResource; denyOutbound( port?: string, from?: string, to?: string, protocol?: SecurityRuleProtocol, priority?: number, name?: string): AzureSubnetResource; withNatGateway(natGateway: AzureNatGatewayResource): AzureSubnetResource; withNetworkSecurityGroup(nsg: AzureNetworkSecurityGroupResource): AzureSubnetResource;} 7 members
Methods
Adds an Azure Private Endpoint resource to the subnet.
addPrivateEndpoint(target: IAzurePrivateEndpointTarget): AzurePrivateEndpointResourceParameters
target IAzurePrivateEndpointTarget Returns
AzurePrivateEndpointResource Adds an inbound allow rule to the subnet's Network Security Group.
allowInbound( port?: string, from?: string, to?: string, protocol?: SecurityRuleProtocol, priority?: number, name?: string): AzureSubnetResourceParameters
port string optional from string optional to string optional protocol SecurityRuleProtocol optional priority number optional name string optional Returns
AzureSubnetResource Adds an outbound allow rule to the subnet's Network Security Group.
allowOutbound( port?: string, from?: string, to?: string, protocol?: SecurityRuleProtocol, priority?: number, name?: string): AzureSubnetResourceParameters
port string optional from string optional to string optional protocol SecurityRuleProtocol optional priority number optional name string optional Returns
AzureSubnetResource 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): AzureSubnetResourceParameters
port string optional from string optional to string optional protocol SecurityRuleProtocol optional priority number optional name string optional Returns
AzureSubnetResource Adds an outbound deny rule to the subnet's Network Security Group.
denyOutbound( port?: string, from?: string, to?: string, protocol?: SecurityRuleProtocol, priority?: number, name?: string): AzureSubnetResourceParameters
port string optional from string optional to string optional protocol SecurityRuleProtocol optional priority number optional name string optional Returns
AzureSubnetResource Associates a NAT Gateway with the subnet.
withNatGateway(natGateway: AzureNatGatewayResource): AzureSubnetResourceParameters
natGateway AzureNatGatewayResource Returns
AzureSubnetResource Associates a Network Security Group with the subnet.
withNetworkSecurityGroup(nsg: AzureNetworkSecurityGroupResource): AzureSubnetResourceParameters
nsg AzureNetworkSecurityGroupResource Returns
AzureSubnetResource