import * as pulumi from '@pulumi/pulumi'; import { ResourceGroupInfo } from '../types'; import * as network from '@pulumi/azure-native/network'; import { DelegateServices } from './Vnet'; export interface SubnetProps { /** The index of prefixSpaces*/ addressPrefix: string; allowedServiceEndpoints?: boolean | string[]; delegateServices?: DelegateServices[]; /** Enable this to allow linking private endpoint network policies */ enablePrivateEndpoint?: boolean; /** Enable this to allow linking private link service network policies*/ enablePrivateLinkService?: boolean; enableRouteTable?: boolean; enableSecurityGroup?: boolean; /** link Nat gateway into this subnet */ enableNatGateway?: boolean; name: string; } interface Props { subnet: SubnetProps; vnetName: pulumi.Input; group: ResourceGroupInfo; securityGroup?: network.NetworkSecurityGroup; routeTable?: network.RouteTable; natGateway?: network.NatGateway; } declare const _default: ({ group, subnet, vnetName, routeTable, natGateway, securityGroup, }: Props) => network.SubnetArgs; export default _default;