Skip to content
Docs Try Aspire
Docs Try

Aspire.Hosting.Azure.Network

Official
📦 Aspire.Hosting.Azure.Network v13.4.0
18 Functions
9 Types

Types

Functions

method addAzureVirtualNetwork builder
Adds an Azure Virtual Network resource to the application model.
addAzureVirtualNetwork(name: string, addressPrefix?: ParameterResource): AzureVirtualNetworkResource
method addNatGateway builder
Adds an Azure NAT Gateway resource to the application model.
addNatGateway(name: string): AzureNatGatewayResource
method addNetworkSecurityGroup builder
Adds an Azure Network Security Group to the application model.
addNetworkSecurityGroup(name: string): AzureNetworkSecurityGroupResource
method addNetworkSecurityPerimeter builder
Adds an Azure Network Security Perimeter to the application model.
addNetworkSecurityPerimeter(name: string): AzureNetworkSecurityPerimeterResource
method addPrivateEndpoint builder
Adds an Azure Private Endpoint resource to the subnet.
addPrivateEndpoint(target: IAzurePrivateEndpointTarget): AzurePrivateEndpointResource
method addPublicIPAddress builder
Adds an Azure Public IP Address resource to the application model.
addPublicIPAddress(name: string): AzurePublicIPAddressResource
method addSubnet builder
Adds an Azure subnet resource to an Azure Virtual Network resource.
addSubnet(name: string, addressPrefix: ParameterResource, subnetName?: string): AzureSubnetResource
method allowInbound builder
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
method allowOutbound builder
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
method denyInbound builder
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
method denyOutbound builder
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
method withAccessRule builder
Adds an access rule to the Network Security Perimeter.
withAccessRule(rule: AzureNspAccessRule): AzureNetworkSecurityPerimeterResource
method withDelegatedSubnet builder
Configures the resource to use the specified subnet with appropriate service delegation.
withDelegatedSubnet(subnet: AzureSubnetResource): IAzureDelegatedSubnetResource
method withNatGateway builder
Associates a NAT Gateway with the subnet.
withNatGateway(natGateway: AzureNatGatewayResource): AzureSubnetResource
method withNetworkSecurityGroup builder
Associates a Network Security Group with the subnet.
withNetworkSecurityGroup(nsg: AzureNetworkSecurityGroupResource): AzureSubnetResource
method withNetworkSecurityPerimeter builder
Associates an Azure PaaS resource with a Network Security Perimeter.
withNetworkSecurityPerimeter(nsp: AzureNetworkSecurityPerimeterResource, accessMode?: NetworkSecurityPerimeterAssociationAccessMode, associationName?: string): IResource
method withPublicIPAddress builder
Associates an explicit Public IP Address resource with the NAT Gateway.
withPublicIPAddress(publicIPAddress: AzurePublicIPAddressResource): AzureNatGatewayResource
method withSecurityRule builder
Adds a security rule to the Network Security Group.
withSecurityRule(rule: AzureSecurityRule): AzureNetworkSecurityGroupResource