GradientEdge CDK Utils
    Preparing search index...

    Properties for creating an Azure Subnet.

    interface SubnetProps {
        addressPrefix?: Input<string>;
        addressPrefixes?: Input<Input<string>[]>;
        applicationGatewayIPConfigurations?: Input<
            Input<ApplicationGatewayIPConfigurationArgs>[],
        >;
        defaultOutboundAccess?: Input<boolean>;
        delegations?: Input<Input<DelegationArgs>[]>;
        id?: Input<string>;
        ipAllocations?: Input<Input<SubResourceArgs>[]>;
        ipamPoolPrefixAllocations?: Input<Input<IpamPoolPrefixAllocationArgs>[]>;
        name?: Input<string>;
        natGateway?: Input<SubResourceArgs>;
        networkSecurityGroup?: Input<NetworkSecurityGroupArgs>;
        privateEndpointNetworkPolicies?: Input<string>;
        privateLinkServiceNetworkPolicies?: Input<string>;
        resourceGroupName: Input<string>;
        routeTable?: Input<RouteTableArgs>;
        serviceEndpointPolicies?: Input<Input<ServiceEndpointPolicyArgs>[]>;
        serviceEndpoints?: Input<Input<ServiceEndpointPropertiesFormatArgs>[]>;
        sharingScope?: Input<string>;
        subnetName?: Input<string>;
        type?: Input<string>;
        virtualNetworkName: Input<string>;
    }

    Hierarchy

    • SubnetArgs
      • SubnetProps
    Index
    addressPrefix?: Input<string>

    The address prefix for the subnet.

    addressPrefixes?: Input<Input<string>[]>

    List of address prefixes for the subnet.

    applicationGatewayIPConfigurations?: Input<
        Input<ApplicationGatewayIPConfigurationArgs>[],
    >

    Application gateway IP configurations of virtual network resource.

    defaultOutboundAccess?: Input<boolean>

    Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet.

    delegations?: Input<Input<DelegationArgs>[]>

    An array of references to the delegations on the subnet.

    id?: Input<string>

    Resource ID.

    ipAllocations?: Input<Input<SubResourceArgs>[]>

    Array of IpAllocation which reference this subnet.

    ipamPoolPrefixAllocations?: Input<Input<IpamPoolPrefixAllocationArgs>[]>

    A list of IPAM Pools for allocating IP address prefixes.

    name?: Input<string>

    The name of the resource that is unique within a resource group. This name can be used to access the resource.

    natGateway?: Input<SubResourceArgs>

    Nat gateway associated with this subnet.

    networkSecurityGroup?: Input<NetworkSecurityGroupArgs>

    The reference to the NetworkSecurityGroup resource.

    privateEndpointNetworkPolicies?: Input<string>

    Enable or Disable apply network policies on private end point in the subnet.

    privateLinkServiceNetworkPolicies?: Input<string>

    Enable or Disable apply network policies on private link service in the subnet.

    resourceGroupName: Input<string>

    The name of the resource group.

    routeTable?: Input<RouteTableArgs>

    The reference to the RouteTable resource.

    serviceEndpointPolicies?: Input<Input<ServiceEndpointPolicyArgs>[]>

    An array of service endpoint policies.

    serviceEndpoints?: Input<Input<ServiceEndpointPropertiesFormatArgs>[]>

    An array of service endpoints.

    sharingScope?: Input<string>

    Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.

    subnetName?: Input<string>

    The name of the subnet.

    type?: Input<string>

    Resource type.

    virtualNetworkName: Input<string>

    The name of the virtual network.