1. Packages
  2. Azure Native
  3. API Docs
  4. azurestackhci
  5. VirtualNetworkSubnet
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.13.0 published on Wednesday, Jan 28, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.13.0 published on Wednesday, Jan 28, 2026 by Pulumi

    The virtual network resource definition.

    Uses Azure REST API version 2025-09-01-preview.

    Example Usage

    PutVirtualNetworkSubnet

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var virtualNetworkSubnet = new AzureNative.AzureStackHCI.VirtualNetworkSubnet("virtualNetworkSubnet", new()
        {
            Properties = new AzureNative.AzureStackHCI.Inputs.VirtualNetworkSubnetPropertiesArgs
            {
                AddressPrefix = "10.0.0.0/28",
            },
            ResourceGroupName = "test-rg",
            SubnetName = "subnet1",
            VirtualNetworkName = "test-vnet",
        });
    
    });
    
    package main
    
    import (
    	azurestackhci "github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := azurestackhci.NewVirtualNetworkSubnet(ctx, "virtualNetworkSubnet", &azurestackhci.VirtualNetworkSubnetArgs{
    			Properties: &azurestackhci.VirtualNetworkSubnetPropertiesArgs{
    				AddressPrefix: pulumi.String("10.0.0.0/28"),
    			},
    			ResourceGroupName:  pulumi.String("test-rg"),
    			SubnetName:         pulumi.String("subnet1"),
    			VirtualNetworkName: pulumi.String("test-vnet"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.azurestackhci.VirtualNetworkSubnet;
    import com.pulumi.azurenative.azurestackhci.VirtualNetworkSubnetArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.VirtualNetworkSubnetPropertiesArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var virtualNetworkSubnet = new VirtualNetworkSubnet("virtualNetworkSubnet", VirtualNetworkSubnetArgs.builder()
                .properties(VirtualNetworkSubnetPropertiesArgs.builder()
                    .addressPrefix("10.0.0.0/28")
                    .build())
                .resourceGroupName("test-rg")
                .subnetName("subnet1")
                .virtualNetworkName("test-vnet")
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const virtualNetworkSubnet = new azure_native.azurestackhci.VirtualNetworkSubnet("virtualNetworkSubnet", {
        properties: {
            addressPrefix: "10.0.0.0/28",
        },
        resourceGroupName: "test-rg",
        subnetName: "subnet1",
        virtualNetworkName: "test-vnet",
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    virtual_network_subnet = azure_native.azurestackhci.VirtualNetworkSubnet("virtualNetworkSubnet",
        properties={
            "address_prefix": "10.0.0.0/28",
        },
        resource_group_name="test-rg",
        subnet_name="subnet1",
        virtual_network_name="test-vnet")
    
    resources:
      virtualNetworkSubnet:
        type: azure-native:azurestackhci:VirtualNetworkSubnet
        properties:
          properties:
            addressPrefix: 10.0.0.0/28
          resourceGroupName: test-rg
          subnetName: subnet1
          virtualNetworkName: test-vnet
    

    Create VirtualNetworkSubnet Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new VirtualNetworkSubnet(name: string, args: VirtualNetworkSubnetArgs, opts?: CustomResourceOptions);
    @overload
    def VirtualNetworkSubnet(resource_name: str,
                             args: VirtualNetworkSubnetArgs,
                             opts: Optional[ResourceOptions] = None)
    
    @overload
    def VirtualNetworkSubnet(resource_name: str,
                             opts: Optional[ResourceOptions] = None,
                             resource_group_name: Optional[str] = None,
                             virtual_network_name: Optional[str] = None,
                             extended_location: Optional[ExtendedLocationArgs] = None,
                             properties: Optional[VirtualNetworkSubnetPropertiesArgs] = None,
                             subnet_name: Optional[str] = None)
    func NewVirtualNetworkSubnet(ctx *Context, name string, args VirtualNetworkSubnetArgs, opts ...ResourceOption) (*VirtualNetworkSubnet, error)
    public VirtualNetworkSubnet(string name, VirtualNetworkSubnetArgs args, CustomResourceOptions? opts = null)
    public VirtualNetworkSubnet(String name, VirtualNetworkSubnetArgs args)
    public VirtualNetworkSubnet(String name, VirtualNetworkSubnetArgs args, CustomResourceOptions options)
    
    type: azure-native:azurestackhci:VirtualNetworkSubnet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args VirtualNetworkSubnetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args VirtualNetworkSubnetArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args VirtualNetworkSubnetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args VirtualNetworkSubnetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args VirtualNetworkSubnetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var virtualNetworkSubnetResource = new AzureNative.AzureStackHCI.VirtualNetworkSubnet("virtualNetworkSubnetResource", new()
    {
        ResourceGroupName = "string",
        VirtualNetworkName = "string",
        ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
        {
            Name = "string",
            Type = "string",
        },
        Properties = new AzureNative.AzureStackHCI.Inputs.VirtualNetworkSubnetPropertiesArgs
        {
            AddressPrefix = "string",
            NatGateway = new AzureNative.AzureStackHCI.Inputs.NatGatewayArmReferenceArgs
            {
                ResourceId = "string",
            },
            NetworkSecurityGroup = new AzureNative.AzureStackHCI.Inputs.NetworkSecurityGroupArmReferenceArgs
            {
                Id = "string",
            },
            RouteTable = new AzureNative.AzureStackHCI.Inputs.RouteTableArgs
            {
                Routes = new[]
                {
                    new AzureNative.AzureStackHCI.Inputs.RouteArgs
                    {
                        AddressPrefix = "string",
                        Name = "string",
                        NextHopIpAddress = "string",
                    },
                },
            },
        },
        SubnetName = "string",
    });
    
    example, err := azurestackhci.NewVirtualNetworkSubnet(ctx, "virtualNetworkSubnetResource", &azurestackhci.VirtualNetworkSubnetArgs{
    	ResourceGroupName:  pulumi.String("string"),
    	VirtualNetworkName: pulumi.String("string"),
    	ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
    		Name: pulumi.String("string"),
    		Type: pulumi.String("string"),
    	},
    	Properties: &azurestackhci.VirtualNetworkSubnetPropertiesArgs{
    		AddressPrefix: pulumi.String("string"),
    		NatGateway: &azurestackhci.NatGatewayArmReferenceArgs{
    			ResourceId: pulumi.String("string"),
    		},
    		NetworkSecurityGroup: &azurestackhci.NetworkSecurityGroupArmReferenceArgs{
    			Id: pulumi.String("string"),
    		},
    		RouteTable: &azurestackhci.RouteTableArgs{
    			Routes: azurestackhci.RouteArray{
    				&azurestackhci.RouteArgs{
    					AddressPrefix:    pulumi.String("string"),
    					Name:             pulumi.String("string"),
    					NextHopIpAddress: pulumi.String("string"),
    				},
    			},
    		},
    	},
    	SubnetName: pulumi.String("string"),
    })
    
    var virtualNetworkSubnetResource = new VirtualNetworkSubnet("virtualNetworkSubnetResource", VirtualNetworkSubnetArgs.builder()
        .resourceGroupName("string")
        .virtualNetworkName("string")
        .extendedLocation(ExtendedLocationArgs.builder()
            .name("string")
            .type("string")
            .build())
        .properties(VirtualNetworkSubnetPropertiesArgs.builder()
            .addressPrefix("string")
            .natGateway(NatGatewayArmReferenceArgs.builder()
                .resourceId("string")
                .build())
            .networkSecurityGroup(NetworkSecurityGroupArmReferenceArgs.builder()
                .id("string")
                .build())
            .routeTable(RouteTableArgs.builder()
                .routes(RouteArgs.builder()
                    .addressPrefix("string")
                    .name("string")
                    .nextHopIpAddress("string")
                    .build())
                .build())
            .build())
        .subnetName("string")
        .build());
    
    virtual_network_subnet_resource = azure_native.azurestackhci.VirtualNetworkSubnet("virtualNetworkSubnetResource",
        resource_group_name="string",
        virtual_network_name="string",
        extended_location={
            "name": "string",
            "type": "string",
        },
        properties={
            "address_prefix": "string",
            "nat_gateway": {
                "resource_id": "string",
            },
            "network_security_group": {
                "id": "string",
            },
            "route_table": {
                "routes": [{
                    "address_prefix": "string",
                    "name": "string",
                    "next_hop_ip_address": "string",
                }],
            },
        },
        subnet_name="string")
    
    const virtualNetworkSubnetResource = new azure_native.azurestackhci.VirtualNetworkSubnet("virtualNetworkSubnetResource", {
        resourceGroupName: "string",
        virtualNetworkName: "string",
        extendedLocation: {
            name: "string",
            type: "string",
        },
        properties: {
            addressPrefix: "string",
            natGateway: {
                resourceId: "string",
            },
            networkSecurityGroup: {
                id: "string",
            },
            routeTable: {
                routes: [{
                    addressPrefix: "string",
                    name: "string",
                    nextHopIpAddress: "string",
                }],
            },
        },
        subnetName: "string",
    });
    
    type: azure-native:azurestackhci:VirtualNetworkSubnet
    properties:
        extendedLocation:
            name: string
            type: string
        properties:
            addressPrefix: string
            natGateway:
                resourceId: string
            networkSecurityGroup:
                id: string
            routeTable:
                routes:
                    - addressPrefix: string
                      name: string
                      nextHopIpAddress: string
        resourceGroupName: string
        subnetName: string
        virtualNetworkName: string
    

    VirtualNetworkSubnet Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The VirtualNetworkSubnet resource accepts the following input properties:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    VirtualNetworkName string
    Name of the virtual network
    ExtendedLocation Pulumi.AzureNative.AzureStackHCI.Inputs.ExtendedLocation
    The extendedLocation of the resource.
    Properties Pulumi.AzureNative.AzureStackHCI.Inputs.VirtualNetworkSubnetProperties
    The resource-specific properties for this resource.
    SubnetName string
    Name of the virtual network subnet
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    VirtualNetworkName string
    Name of the virtual network
    ExtendedLocation ExtendedLocationArgs
    The extendedLocation of the resource.
    Properties VirtualNetworkSubnetPropertiesArgs
    The resource-specific properties for this resource.
    SubnetName string
    Name of the virtual network subnet
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    virtualNetworkName String
    Name of the virtual network
    extendedLocation ExtendedLocation
    The extendedLocation of the resource.
    properties VirtualNetworkSubnetProperties
    The resource-specific properties for this resource.
    subnetName String
    Name of the virtual network subnet
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    virtualNetworkName string
    Name of the virtual network
    extendedLocation ExtendedLocation
    The extendedLocation of the resource.
    properties VirtualNetworkSubnetProperties
    The resource-specific properties for this resource.
    subnetName string
    Name of the virtual network subnet
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    virtual_network_name str
    Name of the virtual network
    extended_location ExtendedLocationArgs
    The extendedLocation of the resource.
    properties VirtualNetworkSubnetPropertiesArgs
    The resource-specific properties for this resource.
    subnet_name str
    Name of the virtual network subnet
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    virtualNetworkName String
    Name of the virtual network
    extendedLocation Property Map
    The extendedLocation of the resource.
    properties Property Map
    The resource-specific properties for this resource.
    subnetName String
    Name of the virtual network subnet

    Outputs

    All input properties are implicitly available as output properties. Additionally, the VirtualNetworkSubnet resource produces the following output properties:

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData Pulumi.AzureNative.AzureStackHCI.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azure_api_version str
    The Azure API version of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    ExtendedLocation, ExtendedLocationArgs

    The complex type of the extended location.
    Name string
    The name of the extended location.
    Type string | Pulumi.AzureNative.AzureStackHCI.ExtendedLocationTypes
    The type of the extended location.
    Name string
    The name of the extended location.
    Type string | ExtendedLocationTypes
    The type of the extended location.
    name String
    The name of the extended location.
    type String | ExtendedLocationTypes
    The type of the extended location.
    name string
    The name of the extended location.
    type string | ExtendedLocationTypes
    The type of the extended location.
    name str
    The name of the extended location.
    type str | ExtendedLocationTypes
    The type of the extended location.
    name String
    The name of the extended location.
    type String | "CustomLocation"
    The type of the extended location.

    ExtendedLocationResponse, ExtendedLocationResponseArgs

    The complex type of the extended location.
    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    name String
    The name of the extended location.
    type String
    The type of the extended location.
    name string
    The name of the extended location.
    type string
    The type of the extended location.
    name str
    The name of the extended location.
    type str
    The type of the extended location.
    name String
    The name of the extended location.
    type String
    The type of the extended location.

    ExtendedLocationTypes, ExtendedLocationTypesArgs

    CustomLocation
    CustomLocation Custom extended location type
    ExtendedLocationTypesCustomLocation
    CustomLocation Custom extended location type
    CustomLocation
    CustomLocation Custom extended location type
    CustomLocation
    CustomLocation Custom extended location type
    CUSTOM_LOCATION
    CustomLocation Custom extended location type
    "CustomLocation"
    CustomLocation Custom extended location type

    NatGatewayArmReference, NatGatewayArmReferenceArgs

    The ARM ID for a Network Security Group.
    ResourceId string
    The ARM ID for a Network Security Group.
    ResourceId string
    The ARM ID for a Network Security Group.
    resourceId String
    The ARM ID for a Network Security Group.
    resourceId string
    The ARM ID for a Network Security Group.
    resource_id str
    The ARM ID for a Network Security Group.
    resourceId String
    The ARM ID for a Network Security Group.

    NatGatewayArmReferenceResponse, NatGatewayArmReferenceResponseArgs

    The ARM ID for a Network Security Group.
    ResourceId string
    The ARM ID for a Network Security Group.
    ResourceId string
    The ARM ID for a Network Security Group.
    resourceId String
    The ARM ID for a Network Security Group.
    resourceId string
    The ARM ID for a Network Security Group.
    resource_id str
    The ARM ID for a Network Security Group.
    resourceId String
    The ARM ID for a Network Security Group.

    NetworkSecurityGroupArmReference, NetworkSecurityGroupArmReferenceArgs

    The Azure Resource ID for a Network Security Group.
    Id string
    The Azure Resource ID for a Network Security Group.
    Id string
    The Azure Resource ID for a Network Security Group.
    id String
    The Azure Resource ID for a Network Security Group.
    id string
    The Azure Resource ID for a Network Security Group.
    id str
    The Azure Resource ID for a Network Security Group.
    id String
    The Azure Resource ID for a Network Security Group.

    NetworkSecurityGroupArmReferenceResponse, NetworkSecurityGroupArmReferenceResponseArgs

    The Azure Resource ID for a Network Security Group.
    Id string
    The Azure Resource ID for a Network Security Group.
    Id string
    The Azure Resource ID for a Network Security Group.
    id String
    The Azure Resource ID for a Network Security Group.
    id string
    The Azure Resource ID for a Network Security Group.
    id str
    The Azure Resource ID for a Network Security Group.
    id String
    The Azure Resource ID for a Network Security Group.

    Route, RouteArgs

    Route - Route resource.
    AddressPrefix string
    The destination CIDR to which the route applies.
    Name string
    Name - name of the subnet
    NextHopIpAddress string
    The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
    AddressPrefix string
    The destination CIDR to which the route applies.
    Name string
    Name - name of the subnet
    NextHopIpAddress string
    The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
    addressPrefix String
    The destination CIDR to which the route applies.
    name String
    Name - name of the subnet
    nextHopIpAddress String
    The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
    addressPrefix string
    The destination CIDR to which the route applies.
    name string
    Name - name of the subnet
    nextHopIpAddress string
    The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
    address_prefix str
    The destination CIDR to which the route applies.
    name str
    Name - name of the subnet
    next_hop_ip_address str
    The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
    addressPrefix String
    The destination CIDR to which the route applies.
    name String
    Name - name of the subnet
    nextHopIpAddress String
    The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.

    RouteResponse, RouteResponseArgs

    Route - Route resource.
    AddressPrefix string
    The destination CIDR to which the route applies.
    Name string
    Name - name of the subnet
    NextHopIpAddress string
    The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
    AddressPrefix string
    The destination CIDR to which the route applies.
    Name string
    Name - name of the subnet
    NextHopIpAddress string
    The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
    addressPrefix String
    The destination CIDR to which the route applies.
    name String
    Name - name of the subnet
    nextHopIpAddress String
    The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
    addressPrefix string
    The destination CIDR to which the route applies.
    name string
    Name - name of the subnet
    nextHopIpAddress string
    The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
    address_prefix str
    The destination CIDR to which the route applies.
    name str
    Name - name of the subnet
    next_hop_ip_address str
    The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.
    addressPrefix String
    The destination CIDR to which the route applies.
    name String
    Name - name of the subnet
    nextHopIpAddress String
    The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance.

    RouteTable, RouteTableArgs

    Route table resource.
    Routes List<Pulumi.AzureNative.AzureStackHCI.Inputs.Route>
    Collection of routes contained within a route table.
    Routes []Route
    Collection of routes contained within a route table.
    routes List<Route>
    Collection of routes contained within a route table.
    routes Route[]
    Collection of routes contained within a route table.
    routes Sequence[Route]
    Collection of routes contained within a route table.
    routes List<Property Map>
    Collection of routes contained within a route table.

    RouteTableResponse, RouteTableResponseArgs

    Route table resource.
    Etag string
    A unique read-only string that changes whenever the resource is updated.
    Name string
    Resource name.
    Type string
    Resource type.
    Routes List<Pulumi.AzureNative.AzureStackHCI.Inputs.RouteResponse>
    Collection of routes contained within a route table.
    Etag string
    A unique read-only string that changes whenever the resource is updated.
    Name string
    Resource name.
    Type string
    Resource type.
    Routes []RouteResponse
    Collection of routes contained within a route table.
    etag String
    A unique read-only string that changes whenever the resource is updated.
    name String
    Resource name.
    type String
    Resource type.
    routes List<RouteResponse>
    Collection of routes contained within a route table.
    etag string
    A unique read-only string that changes whenever the resource is updated.
    name string
    Resource name.
    type string
    Resource type.
    routes RouteResponse[]
    Collection of routes contained within a route table.
    etag str
    A unique read-only string that changes whenever the resource is updated.
    name str
    Resource name.
    type str
    Resource type.
    routes Sequence[RouteResponse]
    Collection of routes contained within a route table.
    etag String
    A unique read-only string that changes whenever the resource is updated.
    name String
    Resource name.
    type String
    Resource type.
    routes List<Property Map>
    Collection of routes contained within a route table.

    SystemDataResponse, SystemDataResponseArgs

    Metadata pertaining to creation and last modification of the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    VirtualNetworkSubnetIpConfigurationReferenceResponse, VirtualNetworkSubnetIpConfigurationReferenceResponseArgs

    The Azure Resource ID for a resource consuming IP on a subnet
    Id string
    The Azure Resource ID for a Network Interface.
    Id string
    The Azure Resource ID for a Network Interface.
    id String
    The Azure Resource ID for a Network Interface.
    id string
    The Azure Resource ID for a Network Interface.
    id str
    The Azure Resource ID for a Network Interface.
    id String
    The Azure Resource ID for a Network Interface.

    VirtualNetworkSubnetProperties, VirtualNetworkSubnetPropertiesArgs

    VirtualNetwork subnet resource
    AddressPrefix string
    Subnet CIDR
    NatGateway Pulumi.AzureNative.AzureStackHCI.Inputs.NatGatewayArmReference
    Nat Gateway attached to the subnet for non-vnet traffic.
    NetworkSecurityGroup Pulumi.AzureNative.AzureStackHCI.Inputs.NetworkSecurityGroupArmReference
    Network Security Group attached to the subnet.
    RouteTable Pulumi.AzureNative.AzureStackHCI.Inputs.RouteTable
    RouteTable defining custom routes for the subnet.
    AddressPrefix string
    Subnet CIDR
    NatGateway NatGatewayArmReference
    Nat Gateway attached to the subnet for non-vnet traffic.
    NetworkSecurityGroup NetworkSecurityGroupArmReference
    Network Security Group attached to the subnet.
    RouteTable RouteTable
    RouteTable defining custom routes for the subnet.
    addressPrefix String
    Subnet CIDR
    natGateway NatGatewayArmReference
    Nat Gateway attached to the subnet for non-vnet traffic.
    networkSecurityGroup NetworkSecurityGroupArmReference
    Network Security Group attached to the subnet.
    routeTable RouteTable
    RouteTable defining custom routes for the subnet.
    addressPrefix string
    Subnet CIDR
    natGateway NatGatewayArmReference
    Nat Gateway attached to the subnet for non-vnet traffic.
    networkSecurityGroup NetworkSecurityGroupArmReference
    Network Security Group attached to the subnet.
    routeTable RouteTable
    RouteTable defining custom routes for the subnet.
    address_prefix str
    Subnet CIDR
    nat_gateway NatGatewayArmReference
    Nat Gateway attached to the subnet for non-vnet traffic.
    network_security_group NetworkSecurityGroupArmReference
    Network Security Group attached to the subnet.
    route_table RouteTable
    RouteTable defining custom routes for the subnet.
    addressPrefix String
    Subnet CIDR
    natGateway Property Map
    Nat Gateway attached to the subnet for non-vnet traffic.
    networkSecurityGroup Property Map
    Network Security Group attached to the subnet.
    routeTable Property Map
    RouteTable defining custom routes for the subnet.

    VirtualNetworkSubnetPropertiesResponse, VirtualNetworkSubnetPropertiesResponseArgs

    VirtualNetwork subnet resource
    AddressPrefix string
    Subnet CIDR
    IpConfigurations List<Pulumi.AzureNative.AzureStackHCI.Inputs.VirtualNetworkSubnetIpConfigurationReferenceResponse>
    List of ip configurations for the subnet
    ProvisioningState string
    The provisioning state of the virtual network subnet resource.
    Status Pulumi.AzureNative.AzureStackHCI.Inputs.VirtualNetworkSubnetStatusResponse
    The observed status of the virtual network subnet resource.
    NatGateway Pulumi.AzureNative.AzureStackHCI.Inputs.NatGatewayArmReferenceResponse
    Nat Gateway attached to the subnet for non-vnet traffic.
    NetworkSecurityGroup Pulumi.AzureNative.AzureStackHCI.Inputs.NetworkSecurityGroupArmReferenceResponse
    Network Security Group attached to the subnet.
    RouteTable Pulumi.AzureNative.AzureStackHCI.Inputs.RouteTableResponse
    RouteTable defining custom routes for the subnet.
    AddressPrefix string
    Subnet CIDR
    IpConfigurations []VirtualNetworkSubnetIpConfigurationReferenceResponse
    List of ip configurations for the subnet
    ProvisioningState string
    The provisioning state of the virtual network subnet resource.
    Status VirtualNetworkSubnetStatusResponse
    The observed status of the virtual network subnet resource.
    NatGateway NatGatewayArmReferenceResponse
    Nat Gateway attached to the subnet for non-vnet traffic.
    NetworkSecurityGroup NetworkSecurityGroupArmReferenceResponse
    Network Security Group attached to the subnet.
    RouteTable RouteTableResponse
    RouteTable defining custom routes for the subnet.
    addressPrefix String
    Subnet CIDR
    ipConfigurations List<VirtualNetworkSubnetIpConfigurationReferenceResponse>
    List of ip configurations for the subnet
    provisioningState String
    The provisioning state of the virtual network subnet resource.
    status VirtualNetworkSubnetStatusResponse
    The observed status of the virtual network subnet resource.
    natGateway NatGatewayArmReferenceResponse
    Nat Gateway attached to the subnet for non-vnet traffic.
    networkSecurityGroup NetworkSecurityGroupArmReferenceResponse
    Network Security Group attached to the subnet.
    routeTable RouteTableResponse
    RouteTable defining custom routes for the subnet.
    addressPrefix string
    Subnet CIDR
    ipConfigurations VirtualNetworkSubnetIpConfigurationReferenceResponse[]
    List of ip configurations for the subnet
    provisioningState string
    The provisioning state of the virtual network subnet resource.
    status VirtualNetworkSubnetStatusResponse
    The observed status of the virtual network subnet resource.
    natGateway NatGatewayArmReferenceResponse
    Nat Gateway attached to the subnet for non-vnet traffic.
    networkSecurityGroup NetworkSecurityGroupArmReferenceResponse
    Network Security Group attached to the subnet.
    routeTable RouteTableResponse
    RouteTable defining custom routes for the subnet.
    address_prefix str
    Subnet CIDR
    ip_configurations Sequence[VirtualNetworkSubnetIpConfigurationReferenceResponse]
    List of ip configurations for the subnet
    provisioning_state str
    The provisioning state of the virtual network subnet resource.
    status VirtualNetworkSubnetStatusResponse
    The observed status of the virtual network subnet resource.
    nat_gateway NatGatewayArmReferenceResponse
    Nat Gateway attached to the subnet for non-vnet traffic.
    network_security_group NetworkSecurityGroupArmReferenceResponse
    Network Security Group attached to the subnet.
    route_table RouteTableResponse
    RouteTable defining custom routes for the subnet.
    addressPrefix String
    Subnet CIDR
    ipConfigurations List<Property Map>
    List of ip configurations for the subnet
    provisioningState String
    The provisioning state of the virtual network subnet resource.
    status Property Map
    The observed status of the virtual network subnet resource.
    natGateway Property Map
    Nat Gateway attached to the subnet for non-vnet traffic.
    networkSecurityGroup Property Map
    Network Security Group attached to the subnet.
    routeTable Property Map
    RouteTable defining custom routes for the subnet.

    VirtualNetworkSubnetStatusProvisioningStatusResponse, VirtualNetworkSubnetStatusProvisioningStatusResponseArgs

    Status of virtual network subnet operations
    Status string
    The status of the operation performed on the virtual network subnet [Succeeded, Failed, InProgress]
    OperationId string
    The ID of the operation performed on the virtual network subnet
    Status string
    The status of the operation performed on the virtual network subnet [Succeeded, Failed, InProgress]
    OperationId string
    The ID of the operation performed on the virtual network subnet
    status String
    The status of the operation performed on the virtual network subnet [Succeeded, Failed, InProgress]
    operationId String
    The ID of the operation performed on the virtual network subnet
    status string
    The status of the operation performed on the virtual network subnet [Succeeded, Failed, InProgress]
    operationId string
    The ID of the operation performed on the virtual network subnet
    status str
    The status of the operation performed on the virtual network subnet [Succeeded, Failed, InProgress]
    operation_id str
    The ID of the operation performed on the virtual network subnet
    status String
    The status of the operation performed on the virtual network subnet [Succeeded, Failed, InProgress]
    operationId String
    The ID of the operation performed on the virtual network subnet

    VirtualNetworkSubnetStatusResponse, VirtualNetworkSubnetStatusResponseArgs

    Status of virtual network subnet operations
    ErrorCode string
    VirtualNetworkSubnet provisioning error code
    ErrorMessage string
    Descriptive error message
    ProvisioningStatus Pulumi.AzureNative.AzureStackHCI.Inputs.VirtualNetworkSubnetStatusProvisioningStatusResponse
    Public IP provisioning status
    ErrorCode string
    VirtualNetworkSubnet provisioning error code
    ErrorMessage string
    Descriptive error message
    ProvisioningStatus VirtualNetworkSubnetStatusProvisioningStatusResponse
    Public IP provisioning status
    errorCode String
    VirtualNetworkSubnet provisioning error code
    errorMessage String
    Descriptive error message
    provisioningStatus VirtualNetworkSubnetStatusProvisioningStatusResponse
    Public IP provisioning status
    errorCode string
    VirtualNetworkSubnet provisioning error code
    errorMessage string
    Descriptive error message
    provisioningStatus VirtualNetworkSubnetStatusProvisioningStatusResponse
    Public IP provisioning status
    error_code str
    VirtualNetworkSubnet provisioning error code
    error_message str
    Descriptive error message
    provisioning_status VirtualNetworkSubnetStatusProvisioningStatusResponse
    Public IP provisioning status
    errorCode String
    VirtualNetworkSubnet provisioning error code
    errorMessage String
    Descriptive error message
    provisioningStatus Property Map
    Public IP provisioning status

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:azurestackhci:VirtualNetworkSubnet subnet /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/virtualNetworks/{virtualNetworkName}/subnets/{subnetName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Azure Native v3.13.0 published on Wednesday, Jan 28, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate