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:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Virtual
Network stringName - Name of the virtual network
- Extended
Location Pulumi.Azure Native. Azure Stack HCI. Inputs. Extended Location - The extendedLocation of the resource.
- Properties
Pulumi.
Azure Native. Azure Stack HCI. Inputs. Virtual Network Subnet Properties - The resource-specific properties for this resource.
- Subnet
Name string - Name of the virtual network subnet
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Virtual
Network stringName - Name of the virtual network
- Extended
Location ExtendedLocation Args - The extendedLocation of the resource.
- Properties
Virtual
Network Subnet Properties Args - The resource-specific properties for this resource.
- Subnet
Name string - Name of the virtual network subnet
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- virtual
Network StringName - Name of the virtual network
- extended
Location ExtendedLocation - The extendedLocation of the resource.
- properties
Virtual
Network Subnet Properties - The resource-specific properties for this resource.
- subnet
Name String - Name of the virtual network subnet
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- virtual
Network stringName - Name of the virtual network
- extended
Location ExtendedLocation - The extendedLocation of the resource.
- properties
Virtual
Network Subnet Properties - The resource-specific properties for this resource.
- subnet
Name string - Name of the virtual network subnet
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- virtual_
network_ strname - Name of the virtual network
- extended_
location ExtendedLocation Args - The extendedLocation of the resource.
- properties
Virtual
Network Subnet Properties Args - The resource-specific properties for this resource.
- subnet_
name str - Name of the virtual network subnet
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- virtual
Network StringName - Name of the virtual network
- extended
Location Property Map - The extendedLocation of the resource.
- properties Property Map
- The resource-specific properties for this resource.
- subnet
Name 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:
- Azure
Api stringVersion - 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
- System
Data Pulumi.Azure Native. Azure Stack HCI. Outputs. System Data Response - 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 stringVersion - 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
- System
Data SystemData Response - 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 StringVersion - 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
- system
Data SystemData Response - 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 stringVersion - 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
- system
Data SystemData Response - 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_ strversion - 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 SystemData Response - 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"
- azure
Api StringVersion - 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
- system
Data 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.
Azure Native. Azure Stack HCI. Extended Location Types - The type of the extended location.
- Name string
- The name of the extended location.
- Type
string | Extended
Location Types - The type of the extended location.
- name String
- The name of the extended location.
- type
String | Extended
Location Types - The type of the extended location.
- name string
- The name of the extended location.
- type
string | Extended
Location Types - The type of the extended location.
- name str
- The name of the extended location.
- type
str | Extended
Location Types - The type of the extended location.
- name String
- The name of the extended location.
- type
String | "Custom
Location" - The type of the extended location.
ExtendedLocationResponse, ExtendedLocationResponseArgs
The complex type of the extended location.ExtendedLocationTypes, ExtendedLocationTypesArgs
- Custom
Location CustomLocationCustom extended location type
- Extended
Location Types Custom Location CustomLocationCustom extended location type
- Custom
Location CustomLocationCustom extended location type
- Custom
Location CustomLocationCustom extended location type
- CUSTOM_LOCATION
CustomLocationCustom extended location type
- "Custom
Location" CustomLocationCustom extended location type
NatGatewayArmReference, NatGatewayArmReferenceArgs
The ARM ID for a Network Security Group.- Resource
Id string - The ARM ID for a Network Security Group.
- Resource
Id string - The ARM ID for a Network Security Group.
- resource
Id String - The ARM ID for a Network Security Group.
- resource
Id string - The ARM ID for a Network Security Group.
- resource_
id str - The ARM ID for a Network Security Group.
- resource
Id String - The ARM ID for a Network Security Group.
NatGatewayArmReferenceResponse, NatGatewayArmReferenceResponseArgs
The ARM ID for a Network Security Group.- Resource
Id string - The ARM ID for a Network Security Group.
- Resource
Id string - The ARM ID for a Network Security Group.
- resource
Id String - The ARM ID for a Network Security Group.
- resource
Id string - The ARM ID for a Network Security Group.
- resource_
id str - The ARM ID for a Network Security Group.
- resource
Id 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.- Address
Prefix string - The destination CIDR to which the route applies.
- Name string
- Name - name of the subnet
- Next
Hop stringIp Address - 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 string - The destination CIDR to which the route applies.
- Name string
- Name - name of the subnet
- Next
Hop stringIp Address - 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 String - The destination CIDR to which the route applies.
- name String
- Name - name of the subnet
- next
Hop StringIp Address - 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 string - The destination CIDR to which the route applies.
- name string
- Name - name of the subnet
- next
Hop stringIp Address - 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_ strip_ address - 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 String - The destination CIDR to which the route applies.
- name String
- Name - name of the subnet
- next
Hop StringIp Address - 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.- Address
Prefix string - The destination CIDR to which the route applies.
- Name string
- Name - name of the subnet
- Next
Hop stringIp Address - 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 string - The destination CIDR to which the route applies.
- Name string
- Name - name of the subnet
- Next
Hop stringIp Address - 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 String - The destination CIDR to which the route applies.
- name String
- Name - name of the subnet
- next
Hop StringIp Address - 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 string - The destination CIDR to which the route applies.
- name string
- Name - name of the subnet
- next
Hop stringIp Address - 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_ strip_ address - 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 String - The destination CIDR to which the route applies.
- name String
- Name - name of the subnet
- next
Hop StringIp Address - 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.
Azure Native. Azure Stack HCI. Inputs. Route> - Collection of routes contained within a route table.
- routes List<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.
Azure Native. Azure Stack HCI. Inputs. Route Response> - 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
[]Route
Response - 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<Route
Response> - 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
Route
Response[] - 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[Route
Response] - 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.- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - 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_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - 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- Address
Prefix string - Subnet CIDR
- Nat
Gateway Pulumi.Azure Native. Azure Stack HCI. Inputs. Nat Gateway Arm Reference - Nat Gateway attached to the subnet for non-vnet traffic.
- Network
Security Pulumi.Group Azure Native. Azure Stack HCI. Inputs. Network Security Group Arm Reference - Network Security Group attached to the subnet.
- Route
Table Pulumi.Azure Native. Azure Stack HCI. Inputs. Route Table - RouteTable defining custom routes for the subnet.
- Address
Prefix string - Subnet CIDR
- Nat
Gateway NatGateway Arm Reference - Nat Gateway attached to the subnet for non-vnet traffic.
- Network
Security NetworkGroup Security Group Arm Reference - Network Security Group attached to the subnet.
- Route
Table RouteTable - RouteTable defining custom routes for the subnet.
- address
Prefix String - Subnet CIDR
- nat
Gateway NatGateway Arm Reference - Nat Gateway attached to the subnet for non-vnet traffic.
- network
Security NetworkGroup Security Group Arm Reference - Network Security Group attached to the subnet.
- route
Table RouteTable - RouteTable defining custom routes for the subnet.
- address
Prefix string - Subnet CIDR
- nat
Gateway NatGateway Arm Reference - Nat Gateway attached to the subnet for non-vnet traffic.
- network
Security NetworkGroup Security Group Arm Reference - Network Security Group attached to the subnet.
- route
Table RouteTable - RouteTable defining custom routes for the subnet.
- address_
prefix str - Subnet CIDR
- nat_
gateway NatGateway Arm Reference - Nat Gateway attached to the subnet for non-vnet traffic.
- network_
security_ Networkgroup Security Group Arm Reference - Network Security Group attached to the subnet.
- route_
table RouteTable - RouteTable defining custom routes for the subnet.
- address
Prefix String - Subnet CIDR
- nat
Gateway Property Map - Nat Gateway attached to the subnet for non-vnet traffic.
- network
Security Property MapGroup - Network Security Group attached to the subnet.
- route
Table Property Map - RouteTable defining custom routes for the subnet.
VirtualNetworkSubnetPropertiesResponse, VirtualNetworkSubnetPropertiesResponseArgs
VirtualNetwork subnet resource- Address
Prefix string - Subnet CIDR
- Ip
Configurations List<Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Network Subnet Ip Configuration Reference Response> - List of ip configurations for the subnet
- Provisioning
State string - The provisioning state of the virtual network subnet resource.
- Status
Pulumi.
Azure Native. Azure Stack HCI. Inputs. Virtual Network Subnet Status Response - The observed status of the virtual network subnet resource.
- Nat
Gateway Pulumi.Azure Native. Azure Stack HCI. Inputs. Nat Gateway Arm Reference Response - Nat Gateway attached to the subnet for non-vnet traffic.
- Network
Security Pulumi.Group Azure Native. Azure Stack HCI. Inputs. Network Security Group Arm Reference Response - Network Security Group attached to the subnet.
- Route
Table Pulumi.Azure Native. Azure Stack HCI. Inputs. Route Table Response - RouteTable defining custom routes for the subnet.
- Address
Prefix string - Subnet CIDR
- Ip
Configurations []VirtualNetwork Subnet Ip Configuration Reference Response - List of ip configurations for the subnet
- Provisioning
State string - The provisioning state of the virtual network subnet resource.
- Status
Virtual
Network Subnet Status Response - The observed status of the virtual network subnet resource.
- Nat
Gateway NatGateway Arm Reference Response - Nat Gateway attached to the subnet for non-vnet traffic.
- Network
Security NetworkGroup Security Group Arm Reference Response - Network Security Group attached to the subnet.
- Route
Table RouteTable Response - RouteTable defining custom routes for the subnet.
- address
Prefix String - Subnet CIDR
- ip
Configurations List<VirtualNetwork Subnet Ip Configuration Reference Response> - List of ip configurations for the subnet
- provisioning
State String - The provisioning state of the virtual network subnet resource.
- status
Virtual
Network Subnet Status Response - The observed status of the virtual network subnet resource.
- nat
Gateway NatGateway Arm Reference Response - Nat Gateway attached to the subnet for non-vnet traffic.
- network
Security NetworkGroup Security Group Arm Reference Response - Network Security Group attached to the subnet.
- route
Table RouteTable Response - RouteTable defining custom routes for the subnet.
- address
Prefix string - Subnet CIDR
- ip
Configurations VirtualNetwork Subnet Ip Configuration Reference Response[] - List of ip configurations for the subnet
- provisioning
State string - The provisioning state of the virtual network subnet resource.
- status
Virtual
Network Subnet Status Response - The observed status of the virtual network subnet resource.
- nat
Gateway NatGateway Arm Reference Response - Nat Gateway attached to the subnet for non-vnet traffic.
- network
Security NetworkGroup Security Group Arm Reference Response - Network Security Group attached to the subnet.
- route
Table RouteTable Response - RouteTable defining custom routes for the subnet.
- address_
prefix str - Subnet CIDR
- ip_
configurations Sequence[VirtualNetwork Subnet Ip Configuration Reference Response] - List of ip configurations for the subnet
- provisioning_
state str - The provisioning state of the virtual network subnet resource.
- status
Virtual
Network Subnet Status Response - The observed status of the virtual network subnet resource.
- nat_
gateway NatGateway Arm Reference Response - Nat Gateway attached to the subnet for non-vnet traffic.
- network_
security_ Networkgroup Security Group Arm Reference Response - Network Security Group attached to the subnet.
- route_
table RouteTable Response - RouteTable defining custom routes for the subnet.
- address
Prefix String - Subnet CIDR
- ip
Configurations List<Property Map> - List of ip configurations for the subnet
- provisioning
State String - The provisioning state of the virtual network subnet resource.
- status Property Map
- The observed status of the virtual network subnet resource.
- nat
Gateway Property Map - Nat Gateway attached to the subnet for non-vnet traffic.
- network
Security Property MapGroup - Network Security Group attached to the subnet.
- route
Table 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]
- Operation
Id 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]
- Operation
Id 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]
- operation
Id 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]
- operation
Id 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]
- operation
Id String - The ID of the operation performed on the virtual network subnet
VirtualNetworkSubnetStatusResponse, VirtualNetworkSubnetStatusResponseArgs
Status of virtual network subnet operations- Error
Code string - VirtualNetworkSubnet provisioning error code
- Error
Message string - Descriptive error message
- Provisioning
Status Pulumi.Azure Native. Azure Stack HCI. Inputs. Virtual Network Subnet Status Provisioning Status Response - Public IP provisioning status
- Error
Code string - VirtualNetworkSubnet provisioning error code
- Error
Message string - Descriptive error message
- Provisioning
Status VirtualNetwork Subnet Status Provisioning Status Response - Public IP provisioning status
- error
Code String - VirtualNetworkSubnet provisioning error code
- error
Message String - Descriptive error message
- provisioning
Status VirtualNetwork Subnet Status Provisioning Status Response - Public IP provisioning status
- error
Code string - VirtualNetworkSubnet provisioning error code
- error
Message string - Descriptive error message
- provisioning
Status VirtualNetwork Subnet Status Provisioning Status Response - Public IP provisioning status
- error_
code str - VirtualNetworkSubnet provisioning error code
- error_
message str - Descriptive error message
- provisioning_
status VirtualNetwork Subnet Status Provisioning Status Response - Public IP provisioning status
- error
Code String - VirtualNetworkSubnet provisioning error code
- error
Message String - Descriptive error message
- provisioning
Status 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
