Skip to content
DocsTry Aspire
DocsTry

Aspire.Hosting.Azure.Network

Official
📦 Aspire.Hosting.Azure.Networkv13.4.0
18Functions
9Types

Types

Functions

methodaddAzureVirtualNetworkbuilder
Adds an Azure Virtual Network resource to the application model.
addAzureVirtualNetwork(name: string, addressPrefix?: ParameterResource): AzureVirtualNetworkResource
methodaddNatGatewaybuilder
Adds an Azure NAT Gateway resource to the application model.
addNatGateway(name: string): AzureNatGatewayResource
methodaddNetworkSecurityGroupbuilder
Adds an Azure Network Security Group to the application model.
addNetworkSecurityGroup(name: string): AzureNetworkSecurityGroupResource
methodaddNetworkSecurityPerimeterbuilder
Adds an Azure Network Security Perimeter to the application model.
addNetworkSecurityPerimeter(name: string): AzureNetworkSecurityPerimeterResource
methodaddPrivateEndpointbuilder
Adds an Azure Private Endpoint resource to the subnet.
addPrivateEndpoint(target: IAzurePrivateEndpointTarget): AzurePrivateEndpointResource
methodaddPublicIPAddressbuilder
Adds an Azure Public IP Address resource to the application model.
addPublicIPAddress(name: string): AzurePublicIPAddressResource
methodaddSubnetbuilder
Adds an Azure subnet resource to an Azure Virtual Network resource.
addSubnet(name: string, addressPrefix: ParameterResource, subnetName?: string): AzureSubnetResource
methodallowInboundbuilder
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): AzureSubnetResource
methodallowOutboundbuilder
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): AzureSubnetResource
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
methoddenyOutboundbuilder
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): AzureSubnetResource
methodwithAccessRulebuilder
Adds an access rule to the Network Security Perimeter.
withAccessRule(rule: AzureNspAccessRule): AzureNetworkSecurityPerimeterResource
methodwithDelegatedSubnetbuilder
Configures the resource to use the specified subnet with appropriate service delegation.
withDelegatedSubnet(subnet: AzureSubnetResource): IAzureDelegatedSubnetResource
methodwithNatGatewaybuilder
Associates a NAT Gateway with the subnet.
withNatGateway(natGateway: AzureNatGatewayResource): AzureSubnetResource
methodwithNetworkSecurityGroupbuilder
Associates a Network Security Group with the subnet.
withNetworkSecurityGroup(nsg: AzureNetworkSecurityGroupResource): AzureSubnetResource
methodwithNetworkSecurityPerimeterbuilder
Associates an Azure PaaS resource with a Network Security Perimeter.
withNetworkSecurityPerimeter(nsp: AzureNetworkSecurityPerimeterResource, accessMode?: NetworkSecurityPerimeterAssociationAccessMode, associationName?: string): IResource
methodwithPublicIPAddressbuilder
Associates an explicit Public IP Address resource with the NAT Gateway.
withPublicIPAddress(publicIPAddress: AzurePublicIPAddressResource): AzureNatGatewayResource
methodwithSecurityRulebuilder
Adds a security rule to the Network Security Group.
withSecurityRule(rule: AzureSecurityRule): AzureNetworkSecurityGroupResource