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 an Azure subnet resource.
addPrivateEndpoint(target: IAzurePrivateEndpointTarget): AzurePrivateEndpointResourceParameters
target IAzurePrivateEndpointTarget Returns
AzurePrivateEndpointResource Adds an inbound allow rule to the Azure subnet resource'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 Azure subnet resource'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 Azure subnet resource'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 Azure subnet resource'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 an Azure NAT Gateway resource with an Azure subnet resource.
withNatGateway(natGateway: AzureNatGatewayResource): AzureSubnetResourceParameters
natGateway AzureNatGatewayResource Returns
AzureSubnetResource Associates an Azure Network Security Group resource with an Azure subnet resource.
withNetworkSecurityGroup(nsg: AzureNetworkSecurityGroupResource): AzureSubnetResourceParameters
nsg AzureNetworkSecurityGroupResource Returns
AzureSubnetResource