Skip to content
Docs Try Aspire
Docs Try

Aspire.Hosting.Azure.Network

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

Types

Functions

method addAzureVirtualNetwork builder
Adds an Azure Virtual Network resource to the application model.
addAzureVirtualNetwork(name: string, addressPrefix?: string): 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 resource to the application model.
addNetworkSecurityGroup(name: string): AzureNetworkSecurityGroupResource
method addNetworkSecurityPerimeter builder
Adds an Azure Network Security Perimeter resource to the application model.
addNetworkSecurityPerimeter(name: string): AzureNetworkSecurityPerimeterResource
method addPrivateEndpoint builder
Adds an Azure Private Endpoint resource to an Azure subnet resource.
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: string, subnetName?: string): AzureSubnetResource
method allowInbound builder
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): AzureSubnetResource
method allowOutbound builder
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): AzureSubnetResource
method denyInbound builder
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): AzureSubnetResource
method denyOutbound builder
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): AzureSubnetResource
method withAccessRule builder
Adds an access rule to an Azure Network Security Perimeter resource.
withAccessRule(rule: AzureNspAccessRule): AzureNetworkSecurityPerimeterResource
method withDelegatedSubnet builder
Associates a delegated Azure subnet resource with an Azure resource that supports subnet delegation.
withDelegatedSubnet(subnet: AzureSubnetResource): IAzureDelegatedSubnetResource
method withNatGateway builder
Associates an Azure NAT Gateway resource with an Azure subnet resource.
withNatGateway(natGateway: AzureNatGatewayResource): AzureSubnetResource
method withNetworkSecurityGroup builder
Associates an Azure Network Security Group resource with an Azure subnet resource.
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 Azure Public IP Address resource with an Azure NAT Gateway resource.
withPublicIPAddress(publicIPAddress: AzurePublicIPAddressResource): AzureNatGatewayResource
method withSecurityRule builder
Adds a security rule to an Azure Network Security Group resource.
withSecurityRule(rule: AzureSecurityRule): AzureNetworkSecurityGroupResource