azure-native.devtestlab.VirtualNetwork
Explore with Pulumi AI
A virtual network. Azure REST API version: 2018-09-15. Prior API version in Azure Native 1.x: 2018-09-15.
Other available API versions: 2016-05-15.
Example Usage
VirtualNetworks_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var virtualNetwork = new AzureNative.DevTestLab.VirtualNetwork("virtualNetwork", new()
{
LabName = "{labName}",
Location = "{location}",
Name = "{virtualNetworkName}",
ResourceGroupName = "resourceGroupName",
Tags =
{
{ "tagName1", "tagValue1" },
},
});
});
package main
import (
devtestlab "github.com/pulumi/pulumi-azure-native-sdk/devtestlab/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := devtestlab.NewVirtualNetwork(ctx, "virtualNetwork", &devtestlab.VirtualNetworkArgs{
LabName: pulumi.String("{labName}"),
Location: pulumi.String("{location}"),
Name: pulumi.String("{virtualNetworkName}"),
ResourceGroupName: pulumi.String("resourceGroupName"),
Tags: pulumi.StringMap{
"tagName1": pulumi.String("tagValue1"),
},
})
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.devtestlab.VirtualNetwork;
import com.pulumi.azurenative.devtestlab.VirtualNetworkArgs;
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 virtualNetwork = new VirtualNetwork("virtualNetwork", VirtualNetworkArgs.builder()
.labName("{labName}")
.location("{location}")
.name("{virtualNetworkName}")
.resourceGroupName("resourceGroupName")
.tags(Map.of("tagName1", "tagValue1"))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
virtual_network = azure_native.devtestlab.VirtualNetwork("virtualNetwork",
lab_name="{labName}",
location="{location}",
name="{virtualNetworkName}",
resource_group_name="resourceGroupName",
tags={
"tagName1": "tagValue1",
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const virtualNetwork = new azure_native.devtestlab.VirtualNetwork("virtualNetwork", {
labName: "{labName}",
location: "{location}",
name: "{virtualNetworkName}",
resourceGroupName: "resourceGroupName",
tags: {
tagName1: "tagValue1",
},
});
resources:
virtualNetwork:
type: azure-native:devtestlab:VirtualNetwork
properties:
labName: '{labName}'
location: '{location}'
name: '{virtualNetworkName}'
resourceGroupName: resourceGroupName
tags:
tagName1: tagValue1
Create VirtualNetwork Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VirtualNetwork(name: string, args: VirtualNetworkArgs, opts?: CustomResourceOptions);
@overload
def VirtualNetwork(resource_name: str,
args: VirtualNetworkArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VirtualNetwork(resource_name: str,
opts: Optional[ResourceOptions] = None,
lab_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
allowed_subnets: Optional[Sequence[SubnetArgs]] = None,
description: Optional[str] = None,
external_provider_resource_id: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
subnet_overrides: Optional[Sequence[SubnetOverrideArgs]] = None,
tags: Optional[Mapping[str, str]] = None)
func NewVirtualNetwork(ctx *Context, name string, args VirtualNetworkArgs, opts ...ResourceOption) (*VirtualNetwork, error)
public VirtualNetwork(string name, VirtualNetworkArgs args, CustomResourceOptions? opts = null)
public VirtualNetwork(String name, VirtualNetworkArgs args)
public VirtualNetwork(String name, VirtualNetworkArgs args, CustomResourceOptions options)
type: azure-native:devtestlab:VirtualNetwork
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 VirtualNetworkArgs
- 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 VirtualNetworkArgs
- 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 VirtualNetworkArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VirtualNetworkArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VirtualNetworkArgs
- 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 examplevirtualNetworkResourceResourceFromDevtestlab = new AzureNative.DevTestLab.VirtualNetwork("examplevirtualNetworkResourceResourceFromDevtestlab", new()
{
LabName = "string",
ResourceGroupName = "string",
AllowedSubnets = new[]
{
new AzureNative.DevTestLab.Inputs.SubnetArgs
{
AllowPublicIp = "string",
LabSubnetName = "string",
ResourceId = "string",
},
},
Description = "string",
ExternalProviderResourceId = "string",
Location = "string",
Name = "string",
SubnetOverrides = new[]
{
new AzureNative.DevTestLab.Inputs.SubnetOverrideArgs
{
LabSubnetName = "string",
ResourceId = "string",
SharedPublicIpAddressConfiguration = new AzureNative.DevTestLab.Inputs.SubnetSharedPublicIpAddressConfigurationArgs
{
AllowedPorts = new[]
{
new AzureNative.DevTestLab.Inputs.PortArgs
{
BackendPort = 0,
TransportProtocol = "string",
},
},
},
UseInVmCreationPermission = "string",
UsePublicIpAddressPermission = "string",
VirtualNetworkPoolName = "string",
},
},
Tags =
{
{ "string", "string" },
},
});
example, err := devtestlab.NewVirtualNetwork(ctx, "examplevirtualNetworkResourceResourceFromDevtestlab", &devtestlab.VirtualNetworkArgs{
LabName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
AllowedSubnets: devtestlab.SubnetArray{
&devtestlab.SubnetArgs{
AllowPublicIp: pulumi.String("string"),
LabSubnetName: pulumi.String("string"),
ResourceId: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
ExternalProviderResourceId: pulumi.String("string"),
Location: pulumi.String("string"),
Name: pulumi.String("string"),
SubnetOverrides: devtestlab.SubnetOverrideArray{
&devtestlab.SubnetOverrideArgs{
LabSubnetName: pulumi.String("string"),
ResourceId: pulumi.String("string"),
SharedPublicIpAddressConfiguration: &devtestlab.SubnetSharedPublicIpAddressConfigurationArgs{
AllowedPorts: devtestlab.PortArray{
&devtestlab.PortArgs{
BackendPort: pulumi.Int(0),
TransportProtocol: pulumi.String("string"),
},
},
},
UseInVmCreationPermission: pulumi.String("string"),
UsePublicIpAddressPermission: pulumi.String("string"),
VirtualNetworkPoolName: pulumi.String("string"),
},
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var examplevirtualNetworkResourceResourceFromDevtestlab = new VirtualNetwork("examplevirtualNetworkResourceResourceFromDevtestlab", VirtualNetworkArgs.builder()
.labName("string")
.resourceGroupName("string")
.allowedSubnets(SubnetArgs.builder()
.allowPublicIp("string")
.labSubnetName("string")
.resourceId("string")
.build())
.description("string")
.externalProviderResourceId("string")
.location("string")
.name("string")
.subnetOverrides(SubnetOverrideArgs.builder()
.labSubnetName("string")
.resourceId("string")
.sharedPublicIpAddressConfiguration(SubnetSharedPublicIpAddressConfigurationArgs.builder()
.allowedPorts(PortArgs.builder()
.backendPort(0)
.transportProtocol("string")
.build())
.build())
.useInVmCreationPermission("string")
.usePublicIpAddressPermission("string")
.virtualNetworkPoolName("string")
.build())
.tags(Map.of("string", "string"))
.build());
examplevirtual_network_resource_resource_from_devtestlab = azure_native.devtestlab.VirtualNetwork("examplevirtualNetworkResourceResourceFromDevtestlab",
lab_name="string",
resource_group_name="string",
allowed_subnets=[{
"allow_public_ip": "string",
"lab_subnet_name": "string",
"resource_id": "string",
}],
description="string",
external_provider_resource_id="string",
location="string",
name="string",
subnet_overrides=[{
"lab_subnet_name": "string",
"resource_id": "string",
"shared_public_ip_address_configuration": {
"allowed_ports": [{
"backend_port": 0,
"transport_protocol": "string",
}],
},
"use_in_vm_creation_permission": "string",
"use_public_ip_address_permission": "string",
"virtual_network_pool_name": "string",
}],
tags={
"string": "string",
})
const examplevirtualNetworkResourceResourceFromDevtestlab = new azure_native.devtestlab.VirtualNetwork("examplevirtualNetworkResourceResourceFromDevtestlab", {
labName: "string",
resourceGroupName: "string",
allowedSubnets: [{
allowPublicIp: "string",
labSubnetName: "string",
resourceId: "string",
}],
description: "string",
externalProviderResourceId: "string",
location: "string",
name: "string",
subnetOverrides: [{
labSubnetName: "string",
resourceId: "string",
sharedPublicIpAddressConfiguration: {
allowedPorts: [{
backendPort: 0,
transportProtocol: "string",
}],
},
useInVmCreationPermission: "string",
usePublicIpAddressPermission: "string",
virtualNetworkPoolName: "string",
}],
tags: {
string: "string",
},
});
type: azure-native:devtestlab:VirtualNetwork
properties:
allowedSubnets:
- allowPublicIp: string
labSubnetName: string
resourceId: string
description: string
externalProviderResourceId: string
labName: string
location: string
name: string
resourceGroupName: string
subnetOverrides:
- labSubnetName: string
resourceId: string
sharedPublicIpAddressConfiguration:
allowedPorts:
- backendPort: 0
transportProtocol: string
useInVmCreationPermission: string
usePublicIpAddressPermission: string
virtualNetworkPoolName: string
tags:
string: string
VirtualNetwork 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 VirtualNetwork resource accepts the following input properties:
- Lab
Name string - The name of the lab.
- Resource
Group stringName - The name of the resource group.
- Allowed
Subnets List<Pulumi.Azure Native. Dev Test Lab. Inputs. Subnet> - The allowed subnets of the virtual network.
- Description string
- The description of the virtual network.
- External
Provider stringResource Id - The Microsoft.Network resource identifier of the virtual network.
- Location string
- The location of the resource.
- Name string
- The name of the virtual network.
- Subnet
Overrides List<Pulumi.Azure Native. Dev Test Lab. Inputs. Subnet Override> - The subnet overrides of the virtual network.
- Dictionary<string, string>
- The tags of the resource.
- Lab
Name string - The name of the lab.
- Resource
Group stringName - The name of the resource group.
- Allowed
Subnets []SubnetArgs - The allowed subnets of the virtual network.
- Description string
- The description of the virtual network.
- External
Provider stringResource Id - The Microsoft.Network resource identifier of the virtual network.
- Location string
- The location of the resource.
- Name string
- The name of the virtual network.
- Subnet
Overrides []SubnetOverride Args - The subnet overrides of the virtual network.
- map[string]string
- The tags of the resource.
- lab
Name String - The name of the lab.
- resource
Group StringName - The name of the resource group.
- allowed
Subnets List<Subnet> - The allowed subnets of the virtual network.
- description String
- The description of the virtual network.
- external
Provider StringResource Id - The Microsoft.Network resource identifier of the virtual network.
- location String
- The location of the resource.
- name String
- The name of the virtual network.
- subnet
Overrides List<SubnetOverride> - The subnet overrides of the virtual network.
- Map<String,String>
- The tags of the resource.
- lab
Name string - The name of the lab.
- resource
Group stringName - The name of the resource group.
- allowed
Subnets Subnet[] - The allowed subnets of the virtual network.
- description string
- The description of the virtual network.
- external
Provider stringResource Id - The Microsoft.Network resource identifier of the virtual network.
- location string
- The location of the resource.
- name string
- The name of the virtual network.
- subnet
Overrides SubnetOverride[] - The subnet overrides of the virtual network.
- {[key: string]: string}
- The tags of the resource.
- lab_
name str - The name of the lab.
- resource_
group_ strname - The name of the resource group.
- allowed_
subnets Sequence[SubnetArgs] - The allowed subnets of the virtual network.
- description str
- The description of the virtual network.
- external_
provider_ strresource_ id - The Microsoft.Network resource identifier of the virtual network.
- location str
- The location of the resource.
- name str
- The name of the virtual network.
- subnet_
overrides Sequence[SubnetOverride Args] - The subnet overrides of the virtual network.
- Mapping[str, str]
- The tags of the resource.
- lab
Name String - The name of the lab.
- resource
Group StringName - The name of the resource group.
- allowed
Subnets List<Property Map> - The allowed subnets of the virtual network.
- description String
- The description of the virtual network.
- external
Provider StringResource Id - The Microsoft.Network resource identifier of the virtual network.
- location String
- The location of the resource.
- name String
- The name of the virtual network.
- subnet
Overrides List<Property Map> - The subnet overrides of the virtual network.
- Map<String>
- The tags of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the VirtualNetwork resource produces the following output properties:
- Created
Date string - The creation date of the virtual network.
- External
Subnets List<Pulumi.Azure Native. Dev Test Lab. Outputs. External Subnet Response> - The external subnet properties.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - The provisioning status of the resource.
- Type string
- The type of the resource.
- Unique
Identifier string - The unique immutable identifier of a resource (Guid).
- Created
Date string - The creation date of the virtual network.
- External
Subnets []ExternalSubnet Response - The external subnet properties.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - The provisioning status of the resource.
- Type string
- The type of the resource.
- Unique
Identifier string - The unique immutable identifier of a resource (Guid).
- created
Date String - The creation date of the virtual network.
- external
Subnets List<ExternalSubnet Response> - The external subnet properties.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - The provisioning status of the resource.
- type String
- The type of the resource.
- unique
Identifier String - The unique immutable identifier of a resource (Guid).
- created
Date string - The creation date of the virtual network.
- external
Subnets ExternalSubnet Response[] - The external subnet properties.
- id string
- The provider-assigned unique ID for this managed resource.
- provisioning
State string - The provisioning status of the resource.
- type string
- The type of the resource.
- unique
Identifier string - The unique immutable identifier of a resource (Guid).
- created_
date str - The creation date of the virtual network.
- external_
subnets Sequence[ExternalSubnet Response] - The external subnet properties.
- id str
- The provider-assigned unique ID for this managed resource.
- provisioning_
state str - The provisioning status of the resource.
- type str
- The type of the resource.
- unique_
identifier str - The unique immutable identifier of a resource (Guid).
- created
Date String - The creation date of the virtual network.
- external
Subnets List<Property Map> - The external subnet properties.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - The provisioning status of the resource.
- type String
- The type of the resource.
- unique
Identifier String - The unique immutable identifier of a resource (Guid).
Supporting Types
ExternalSubnetResponse, ExternalSubnetResponseArgs
Port, PortArgs
- Backend
Port int - Backend port of the target virtual machine.
- Transport
Protocol string | Pulumi.Azure Native. Dev Test Lab. Transport Protocol - Protocol type of the port.
- Backend
Port int - Backend port of the target virtual machine.
- Transport
Protocol string | TransportProtocol - Protocol type of the port.
- backend
Port Integer - Backend port of the target virtual machine.
- transport
Protocol String | TransportProtocol - Protocol type of the port.
- backend
Port number - Backend port of the target virtual machine.
- transport
Protocol string | TransportProtocol - Protocol type of the port.
- backend_
port int - Backend port of the target virtual machine.
- transport_
protocol str | TransportProtocol - Protocol type of the port.
- backend
Port Number - Backend port of the target virtual machine.
- transport
Protocol String | "Tcp" | "Udp" - Protocol type of the port.
PortResponse, PortResponseArgs
- Backend
Port int - Backend port of the target virtual machine.
- Transport
Protocol string - Protocol type of the port.
- Backend
Port int - Backend port of the target virtual machine.
- Transport
Protocol string - Protocol type of the port.
- backend
Port Integer - Backend port of the target virtual machine.
- transport
Protocol String - Protocol type of the port.
- backend
Port number - Backend port of the target virtual machine.
- transport
Protocol string - Protocol type of the port.
- backend_
port int - Backend port of the target virtual machine.
- transport_
protocol str - Protocol type of the port.
- backend
Port Number - Backend port of the target virtual machine.
- transport
Protocol String - Protocol type of the port.
Subnet, SubnetArgs
- Allow
Public string | Pulumi.Ip Azure Native. Dev Test Lab. Usage Permission Type - The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
- Lab
Subnet stringName - The name of the subnet as seen in the lab.
- Resource
Id string - The resource ID of the subnet.
- Allow
Public string | UsageIp Permission Type - The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
- Lab
Subnet stringName - The name of the subnet as seen in the lab.
- Resource
Id string - The resource ID of the subnet.
- allow
Public String | UsageIp Permission Type - The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
- lab
Subnet StringName - The name of the subnet as seen in the lab.
- resource
Id String - The resource ID of the subnet.
- allow
Public string | UsageIp Permission Type - The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
- lab
Subnet stringName - The name of the subnet as seen in the lab.
- resource
Id string - The resource ID of the subnet.
- allow_
public_ str | Usageip Permission Type - The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
- lab_
subnet_ strname - The name of the subnet as seen in the lab.
- resource_
id str - The resource ID of the subnet.
- allow
Public String | "Default" | "Deny" | "Allow"Ip - The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
- lab
Subnet StringName - The name of the subnet as seen in the lab.
- resource
Id String - The resource ID of the subnet.
SubnetOverride, SubnetOverrideArgs
- Lab
Subnet stringName - The name given to the subnet within the lab.
- Resource
Id string - The resource ID of the subnet.
- Pulumi.
Azure Native. Dev Test Lab. Inputs. Subnet Shared Public Ip Address Configuration - Properties that virtual machines on this subnet will share.
- Use
In string | Pulumi.Vm Creation Permission Azure Native. Dev Test Lab. Usage Permission Type - Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
- Use
Public string | Pulumi.Ip Address Permission Azure Native. Dev Test Lab. Usage Permission Type - Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
- Virtual
Network stringPool Name - The virtual network pool associated with this subnet.
- Lab
Subnet stringName - The name given to the subnet within the lab.
- Resource
Id string - The resource ID of the subnet.
- Subnet
Shared Public Ip Address Configuration - Properties that virtual machines on this subnet will share.
- Use
In string | UsageVm Creation Permission Permission Type - Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
- Use
Public string | UsageIp Address Permission Permission Type - Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
- Virtual
Network stringPool Name - The virtual network pool associated with this subnet.
- lab
Subnet StringName - The name given to the subnet within the lab.
- resource
Id String - The resource ID of the subnet.
- Subnet
Shared Public Ip Address Configuration - Properties that virtual machines on this subnet will share.
- use
In String | UsageVm Creation Permission Permission Type - Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
- use
Public String | UsageIp Address Permission Permission Type - Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
- virtual
Network StringPool Name - The virtual network pool associated with this subnet.
- lab
Subnet stringName - The name given to the subnet within the lab.
- resource
Id string - The resource ID of the subnet.
- Subnet
Shared Public Ip Address Configuration - Properties that virtual machines on this subnet will share.
- use
In string | UsageVm Creation Permission Permission Type - Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
- use
Public string | UsageIp Address Permission Permission Type - Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
- virtual
Network stringPool Name - The virtual network pool associated with this subnet.
- lab_
subnet_ strname - The name given to the subnet within the lab.
- resource_
id str - The resource ID of the subnet.
- Subnet
Shared Public Ip Address Configuration - Properties that virtual machines on this subnet will share.
- use_
in_ str | Usagevm_ creation_ permission Permission Type - Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
- use_
public_ str | Usageip_ address_ permission Permission Type - Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
- virtual_
network_ strpool_ name - The virtual network pool associated with this subnet.
- lab
Subnet StringName - The name given to the subnet within the lab.
- resource
Id String - The resource ID of the subnet.
- Property Map
- Properties that virtual machines on this subnet will share.
- use
In String | "Default" | "Deny" | "Allow"Vm Creation Permission - Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
- use
Public String | "Default" | "Deny" | "Allow"Ip Address Permission - Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
- virtual
Network StringPool Name - The virtual network pool associated with this subnet.
SubnetOverrideResponse, SubnetOverrideResponseArgs
- Lab
Subnet stringName - The name given to the subnet within the lab.
- Resource
Id string - The resource ID of the subnet.
- Pulumi.
Azure Native. Dev Test Lab. Inputs. Subnet Shared Public Ip Address Configuration Response - Properties that virtual machines on this subnet will share.
- Use
In stringVm Creation Permission - Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
- Use
Public stringIp Address Permission - Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
- Virtual
Network stringPool Name - The virtual network pool associated with this subnet.
- Lab
Subnet stringName - The name given to the subnet within the lab.
- Resource
Id string - The resource ID of the subnet.
- Subnet
Shared Public Ip Address Configuration Response - Properties that virtual machines on this subnet will share.
- Use
In stringVm Creation Permission - Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
- Use
Public stringIp Address Permission - Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
- Virtual
Network stringPool Name - The virtual network pool associated with this subnet.
- lab
Subnet StringName - The name given to the subnet within the lab.
- resource
Id String - The resource ID of the subnet.
- Subnet
Shared Public Ip Address Configuration Response - Properties that virtual machines on this subnet will share.
- use
In StringVm Creation Permission - Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
- use
Public StringIp Address Permission - Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
- virtual
Network StringPool Name - The virtual network pool associated with this subnet.
- lab
Subnet stringName - The name given to the subnet within the lab.
- resource
Id string - The resource ID of the subnet.
- Subnet
Shared Public Ip Address Configuration Response - Properties that virtual machines on this subnet will share.
- use
In stringVm Creation Permission - Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
- use
Public stringIp Address Permission - Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
- virtual
Network stringPool Name - The virtual network pool associated with this subnet.
- lab_
subnet_ strname - The name given to the subnet within the lab.
- resource_
id str - The resource ID of the subnet.
- Subnet
Shared Public Ip Address Configuration Response - Properties that virtual machines on this subnet will share.
- use_
in_ strvm_ creation_ permission - Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
- use_
public_ strip_ address_ permission - Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
- virtual_
network_ strpool_ name - The virtual network pool associated with this subnet.
- lab
Subnet StringName - The name given to the subnet within the lab.
- resource
Id String - The resource ID of the subnet.
- Property Map
- Properties that virtual machines on this subnet will share.
- use
In StringVm Creation Permission - Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
- use
Public StringIp Address Permission - Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
- virtual
Network StringPool Name - The virtual network pool associated with this subnet.
SubnetResponse, SubnetResponseArgs
- Allow
Public stringIp - The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
- Lab
Subnet stringName - The name of the subnet as seen in the lab.
- Resource
Id string - The resource ID of the subnet.
- Allow
Public stringIp - The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
- Lab
Subnet stringName - The name of the subnet as seen in the lab.
- Resource
Id string - The resource ID of the subnet.
- allow
Public StringIp - The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
- lab
Subnet StringName - The name of the subnet as seen in the lab.
- resource
Id String - The resource ID of the subnet.
- allow
Public stringIp - The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
- lab
Subnet stringName - The name of the subnet as seen in the lab.
- resource
Id string - The resource ID of the subnet.
- allow_
public_ strip - The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
- lab_
subnet_ strname - The name of the subnet as seen in the lab.
- resource_
id str - The resource ID of the subnet.
- allow
Public StringIp - The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
- lab
Subnet StringName - The name of the subnet as seen in the lab.
- resource
Id String - The resource ID of the subnet.
SubnetSharedPublicIpAddressConfiguration, SubnetSharedPublicIpAddressConfigurationArgs
- Allowed
Ports List<Pulumi.Azure Native. Dev Test Lab. Inputs. Port> - Backend ports that virtual machines on this subnet are allowed to expose
- Allowed
Ports []Port - Backend ports that virtual machines on this subnet are allowed to expose
- allowed
Ports List<Port> - Backend ports that virtual machines on this subnet are allowed to expose
- allowed
Ports Port[] - Backend ports that virtual machines on this subnet are allowed to expose
- allowed_
ports Sequence[Port] - Backend ports that virtual machines on this subnet are allowed to expose
- allowed
Ports List<Property Map> - Backend ports that virtual machines on this subnet are allowed to expose
SubnetSharedPublicIpAddressConfigurationResponse, SubnetSharedPublicIpAddressConfigurationResponseArgs
- Allowed
Ports List<Pulumi.Azure Native. Dev Test Lab. Inputs. Port Response> - Backend ports that virtual machines on this subnet are allowed to expose
- Allowed
Ports []PortResponse - Backend ports that virtual machines on this subnet are allowed to expose
- allowed
Ports List<PortResponse> - Backend ports that virtual machines on this subnet are allowed to expose
- allowed
Ports PortResponse[] - Backend ports that virtual machines on this subnet are allowed to expose
- allowed_
ports Sequence[PortResponse] - Backend ports that virtual machines on this subnet are allowed to expose
- allowed
Ports List<Property Map> - Backend ports that virtual machines on this subnet are allowed to expose
TransportProtocol, TransportProtocolArgs
- Tcp
- Tcp
- Udp
- Udp
- Transport
Protocol Tcp - Tcp
- Transport
Protocol Udp - Udp
- Tcp
- Tcp
- Udp
- Udp
- Tcp
- Tcp
- Udp
- Udp
- TCP
- Tcp
- UDP
- Udp
- "Tcp"
- Tcp
- "Udp"
- Udp
UsagePermissionType, UsagePermissionTypeArgs
- Default
- Default
- Deny
- Deny
- Allow
- Allow
- Usage
Permission Type Default - Default
- Usage
Permission Type Deny - Deny
- Usage
Permission Type Allow - Allow
- Default
- Default
- Deny
- Deny
- Allow
- Allow
- Default
- Default
- Deny
- Deny
- Allow
- Allow
- DEFAULT
- Default
- DENY
- Deny
- ALLOW
- Allow
- "Default"
- Default
- "Deny"
- Deny
- "Allow"
- Allow
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:devtestlab:VirtualNetwork {virtualNetworkName} /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/virtualnetworks/{name}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0