1. Packages
  2. Azure Native v1
  3. API Docs
  4. devtestlab
  5. VirtualNetwork
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.devtestlab.VirtualNetwork

Explore with Pulumi AI

azure-native-v1 logo
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

    A virtual network. API Version: 2018-09-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"
    	"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 azure_nativeVirtualNetworkResource = new AzureNative.Devtestlab.VirtualNetwork("azure-nativeVirtualNetworkResource", new()
    {
        LabName = "string",
        ResourceGroupName = "string",
        AllowedSubnets = new[]
        {
            
            {
                { "allowPublicIp", "string" },
                { "labSubnetName", "string" },
                { "resourceId", "string" },
            },
        },
        Description = "string",
        ExternalProviderResourceId = "string",
        Location = "string",
        Name = "string",
        SubnetOverrides = new[]
        {
            
            {
                { "labSubnetName", "string" },
                { "resourceId", "string" },
                { "sharedPublicIpAddressConfiguration", 
                {
                    { "allowedPorts", new[]
                    {
                        
                        {
                            { "backendPort", 0 },
                            { "transportProtocol", "string" },
                        },
                    } },
                } },
                { "useInVmCreationPermission", "string" },
                { "usePublicIpAddressPermission", "string" },
                { "virtualNetworkPoolName", "string" },
            },
        },
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := devtestlab.NewVirtualNetwork(ctx, "azure-nativeVirtualNetworkResource", &devtestlab.VirtualNetworkArgs{
    	LabName:           "string",
    	ResourceGroupName: "string",
    	AllowedSubnets: []map[string]interface{}{
    		map[string]interface{}{
    			"allowPublicIp": "string",
    			"labSubnetName": "string",
    			"resourceId":    "string",
    		},
    	},
    	Description:                "string",
    	ExternalProviderResourceId: "string",
    	Location:                   "string",
    	Name:                       "string",
    	SubnetOverrides: []map[string]interface{}{
    		map[string]interface{}{
    			"labSubnetName": "string",
    			"resourceId":    "string",
    			"sharedPublicIpAddressConfiguration": map[string]interface{}{
    				"allowedPorts": []map[string]interface{}{
    					map[string]interface{}{
    						"backendPort":       0,
    						"transportProtocol": "string",
    					},
    				},
    			},
    			"useInVmCreationPermission":    "string",
    			"usePublicIpAddressPermission": "string",
    			"virtualNetworkPoolName":       "string",
    		},
    	},
    	Tags: map[string]interface{}{
    		"string": "string",
    	},
    })
    
    var azure_nativeVirtualNetworkResource = new VirtualNetwork("azure-nativeVirtualNetworkResource", VirtualNetworkArgs.builder()
        .labName("string")
        .resourceGroupName("string")
        .allowedSubnets(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .description("string")
        .externalProviderResourceId("string")
        .location("string")
        .name("string")
        .subnetOverrides(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
        .build());
    
    azure_native_virtual_network_resource = azure_native.devtestlab.VirtualNetwork("azure-nativeVirtualNetworkResource",
        lab_name=string,
        resource_group_name=string,
        allowed_subnets=[{
            allowPublicIp: string,
            labSubnetName: string,
            resourceId: string,
        }],
        description=string,
        external_provider_resource_id=string,
        location=string,
        name=string,
        subnet_overrides=[{
            labSubnetName: string,
            resourceId: string,
            sharedPublicIpAddressConfiguration: {
                allowedPorts: [{
                    backendPort: 0,
                    transportProtocol: string,
                }],
            },
            useInVmCreationPermission: string,
            usePublicIpAddressPermission: string,
            virtualNetworkPoolName: string,
        }],
        tags={
            string: string,
        })
    
    const azure_nativeVirtualNetworkResource = new azure_native.devtestlab.VirtualNetwork("azure-nativeVirtualNetworkResource", {
        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:

    LabName string
    The name of the lab.
    ResourceGroupName string
    The name of the resource group.
    AllowedSubnets List<Pulumi.AzureNative.DevTestLab.Inputs.Subnet>
    The allowed subnets of the virtual network.
    Description string
    The description of the virtual network.
    ExternalProviderResourceId string
    The Microsoft.Network resource identifier of the virtual network.
    Location string
    The location of the resource.
    Name string
    The name of the virtual network.
    SubnetOverrides List<Pulumi.AzureNative.DevTestLab.Inputs.SubnetOverride>
    The subnet overrides of the virtual network.
    Tags Dictionary<string, string>
    The tags of the resource.
    LabName string
    The name of the lab.
    ResourceGroupName string
    The name of the resource group.
    AllowedSubnets []SubnetArgs
    The allowed subnets of the virtual network.
    Description string
    The description of the virtual network.
    ExternalProviderResourceId string
    The Microsoft.Network resource identifier of the virtual network.
    Location string
    The location of the resource.
    Name string
    The name of the virtual network.
    SubnetOverrides []SubnetOverrideArgs
    The subnet overrides of the virtual network.
    Tags map[string]string
    The tags of the resource.
    labName String
    The name of the lab.
    resourceGroupName String
    The name of the resource group.
    allowedSubnets List<Subnet>
    The allowed subnets of the virtual network.
    description String
    The description of the virtual network.
    externalProviderResourceId String
    The Microsoft.Network resource identifier of the virtual network.
    location String
    The location of the resource.
    name String
    The name of the virtual network.
    subnetOverrides List<SubnetOverride>
    The subnet overrides of the virtual network.
    tags Map<String,String>
    The tags of the resource.
    labName string
    The name of the lab.
    resourceGroupName string
    The name of the resource group.
    allowedSubnets Subnet[]
    The allowed subnets of the virtual network.
    description string
    The description of the virtual network.
    externalProviderResourceId string
    The Microsoft.Network resource identifier of the virtual network.
    location string
    The location of the resource.
    name string
    The name of the virtual network.
    subnetOverrides SubnetOverride[]
    The subnet overrides of the virtual network.
    tags {[key: string]: string}
    The tags of the resource.
    lab_name str
    The name of the lab.
    resource_group_name str
    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_resource_id str
    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[SubnetOverrideArgs]
    The subnet overrides of the virtual network.
    tags Mapping[str, str]
    The tags of the resource.
    labName String
    The name of the lab.
    resourceGroupName String
    The name of the resource group.
    allowedSubnets List<Property Map>
    The allowed subnets of the virtual network.
    description String
    The description of the virtual network.
    externalProviderResourceId String
    The Microsoft.Network resource identifier of the virtual network.
    location String
    The location of the resource.
    name String
    The name of the virtual network.
    subnetOverrides List<Property Map>
    The subnet overrides of the virtual network.
    tags 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:

    CreatedDate string
    The creation date of the virtual network.
    ExternalSubnets List<Pulumi.AzureNative.DevTestLab.Outputs.ExternalSubnetResponse>
    The external subnet properties.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProvisioningState string
    The provisioning status of the resource.
    Type string
    The type of the resource.
    UniqueIdentifier string
    The unique immutable identifier of a resource (Guid).
    CreatedDate string
    The creation date of the virtual network.
    ExternalSubnets []ExternalSubnetResponse
    The external subnet properties.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProvisioningState string
    The provisioning status of the resource.
    Type string
    The type of the resource.
    UniqueIdentifier string
    The unique immutable identifier of a resource (Guid).
    createdDate String
    The creation date of the virtual network.
    externalSubnets List<ExternalSubnetResponse>
    The external subnet properties.
    id String
    The provider-assigned unique ID for this managed resource.
    provisioningState String
    The provisioning status of the resource.
    type String
    The type of the resource.
    uniqueIdentifier String
    The unique immutable identifier of a resource (Guid).
    createdDate string
    The creation date of the virtual network.
    externalSubnets ExternalSubnetResponse[]
    The external subnet properties.
    id string
    The provider-assigned unique ID for this managed resource.
    provisioningState string
    The provisioning status of the resource.
    type string
    The type of the resource.
    uniqueIdentifier string
    The unique immutable identifier of a resource (Guid).
    created_date str
    The creation date of the virtual network.
    external_subnets Sequence[ExternalSubnetResponse]
    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).
    createdDate String
    The creation date of the virtual network.
    externalSubnets List<Property Map>
    The external subnet properties.
    id String
    The provider-assigned unique ID for this managed resource.
    provisioningState String
    The provisioning status of the resource.
    type String
    The type of the resource.
    uniqueIdentifier String
    The unique immutable identifier of a resource (Guid).

    Supporting Types

    ExternalSubnetResponse, ExternalSubnetResponseArgs

    Id string
    Gets or sets the identifier.
    Name string
    Gets or sets the name.
    Id string
    Gets or sets the identifier.
    Name string
    Gets or sets the name.
    id String
    Gets or sets the identifier.
    name String
    Gets or sets the name.
    id string
    Gets or sets the identifier.
    name string
    Gets or sets the name.
    id str
    Gets or sets the identifier.
    name str
    Gets or sets the name.
    id String
    Gets or sets the identifier.
    name String
    Gets or sets the name.

    Port, PortArgs

    BackendPort int
    Backend port of the target virtual machine.
    TransportProtocol string | Pulumi.AzureNative.DevTestLab.TransportProtocol
    Protocol type of the port.
    BackendPort int
    Backend port of the target virtual machine.
    TransportProtocol string | TransportProtocol
    Protocol type of the port.
    backendPort Integer
    Backend port of the target virtual machine.
    transportProtocol String | TransportProtocol
    Protocol type of the port.
    backendPort number
    Backend port of the target virtual machine.
    transportProtocol 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.
    backendPort Number
    Backend port of the target virtual machine.
    transportProtocol String | "Tcp" | "Udp"
    Protocol type of the port.

    PortResponse, PortResponseArgs

    BackendPort int
    Backend port of the target virtual machine.
    TransportProtocol string
    Protocol type of the port.
    BackendPort int
    Backend port of the target virtual machine.
    TransportProtocol string
    Protocol type of the port.
    backendPort Integer
    Backend port of the target virtual machine.
    transportProtocol String
    Protocol type of the port.
    backendPort number
    Backend port of the target virtual machine.
    transportProtocol string
    Protocol type of the port.
    backend_port int
    Backend port of the target virtual machine.
    transport_protocol str
    Protocol type of the port.
    backendPort Number
    Backend port of the target virtual machine.
    transportProtocol String
    Protocol type of the port.

    Subnet, SubnetArgs

    AllowPublicIp string | Pulumi.AzureNative.DevTestLab.UsagePermissionType
    The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
    LabSubnetName string
    The name of the subnet as seen in the lab.
    ResourceId string
    The resource ID of the subnet.
    AllowPublicIp string | UsagePermissionType
    The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
    LabSubnetName string
    The name of the subnet as seen in the lab.
    ResourceId string
    The resource ID of the subnet.
    allowPublicIp String | UsagePermissionType
    The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
    labSubnetName String
    The name of the subnet as seen in the lab.
    resourceId String
    The resource ID of the subnet.
    allowPublicIp string | UsagePermissionType
    The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
    labSubnetName string
    The name of the subnet as seen in the lab.
    resourceId string
    The resource ID of the subnet.
    allow_public_ip str | UsagePermissionType
    The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
    lab_subnet_name str
    The name of the subnet as seen in the lab.
    resource_id str
    The resource ID of the subnet.
    allowPublicIp String | "Default" | "Deny" | "Allow"
    The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
    labSubnetName String
    The name of the subnet as seen in the lab.
    resourceId String
    The resource ID of the subnet.

    SubnetOverride, SubnetOverrideArgs

    LabSubnetName string
    The name given to the subnet within the lab.
    ResourceId string
    The resource ID of the subnet.
    SharedPublicIpAddressConfiguration Pulumi.AzureNative.DevTestLab.Inputs.SubnetSharedPublicIpAddressConfiguration
    Properties that virtual machines on this subnet will share.
    UseInVmCreationPermission string | Pulumi.AzureNative.DevTestLab.UsagePermissionType
    Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
    UsePublicIpAddressPermission string | Pulumi.AzureNative.DevTestLab.UsagePermissionType
    Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
    VirtualNetworkPoolName string
    The virtual network pool associated with this subnet.
    LabSubnetName string
    The name given to the subnet within the lab.
    ResourceId string
    The resource ID of the subnet.
    SharedPublicIpAddressConfiguration SubnetSharedPublicIpAddressConfiguration
    Properties that virtual machines on this subnet will share.
    UseInVmCreationPermission string | UsagePermissionType
    Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
    UsePublicIpAddressPermission string | UsagePermissionType
    Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
    VirtualNetworkPoolName string
    The virtual network pool associated with this subnet.
    labSubnetName String
    The name given to the subnet within the lab.
    resourceId String
    The resource ID of the subnet.
    sharedPublicIpAddressConfiguration SubnetSharedPublicIpAddressConfiguration
    Properties that virtual machines on this subnet will share.
    useInVmCreationPermission String | UsagePermissionType
    Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
    usePublicIpAddressPermission String | UsagePermissionType
    Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
    virtualNetworkPoolName String
    The virtual network pool associated with this subnet.
    labSubnetName string
    The name given to the subnet within the lab.
    resourceId string
    The resource ID of the subnet.
    sharedPublicIpAddressConfiguration SubnetSharedPublicIpAddressConfiguration
    Properties that virtual machines on this subnet will share.
    useInVmCreationPermission string | UsagePermissionType
    Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
    usePublicIpAddressPermission string | UsagePermissionType
    Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
    virtualNetworkPoolName string
    The virtual network pool associated with this subnet.
    lab_subnet_name str
    The name given to the subnet within the lab.
    resource_id str
    The resource ID of the subnet.
    shared_public_ip_address_configuration SubnetSharedPublicIpAddressConfiguration
    Properties that virtual machines on this subnet will share.
    use_in_vm_creation_permission str | UsagePermissionType
    Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
    use_public_ip_address_permission str | UsagePermissionType
    Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
    virtual_network_pool_name str
    The virtual network pool associated with this subnet.
    labSubnetName String
    The name given to the subnet within the lab.
    resourceId String
    The resource ID of the subnet.
    sharedPublicIpAddressConfiguration Property Map
    Properties that virtual machines on this subnet will share.
    useInVmCreationPermission String | "Default" | "Deny" | "Allow"
    Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
    usePublicIpAddressPermission String | "Default" | "Deny" | "Allow"
    Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
    virtualNetworkPoolName String
    The virtual network pool associated with this subnet.

    SubnetOverrideResponse, SubnetOverrideResponseArgs

    LabSubnetName string
    The name given to the subnet within the lab.
    ResourceId string
    The resource ID of the subnet.
    SharedPublicIpAddressConfiguration Pulumi.AzureNative.DevTestLab.Inputs.SubnetSharedPublicIpAddressConfigurationResponse
    Properties that virtual machines on this subnet will share.
    UseInVmCreationPermission string
    Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
    UsePublicIpAddressPermission string
    Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
    VirtualNetworkPoolName string
    The virtual network pool associated with this subnet.
    LabSubnetName string
    The name given to the subnet within the lab.
    ResourceId string
    The resource ID of the subnet.
    SharedPublicIpAddressConfiguration SubnetSharedPublicIpAddressConfigurationResponse
    Properties that virtual machines on this subnet will share.
    UseInVmCreationPermission string
    Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
    UsePublicIpAddressPermission string
    Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
    VirtualNetworkPoolName string
    The virtual network pool associated with this subnet.
    labSubnetName String
    The name given to the subnet within the lab.
    resourceId String
    The resource ID of the subnet.
    sharedPublicIpAddressConfiguration SubnetSharedPublicIpAddressConfigurationResponse
    Properties that virtual machines on this subnet will share.
    useInVmCreationPermission String
    Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
    usePublicIpAddressPermission String
    Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
    virtualNetworkPoolName String
    The virtual network pool associated with this subnet.
    labSubnetName string
    The name given to the subnet within the lab.
    resourceId string
    The resource ID of the subnet.
    sharedPublicIpAddressConfiguration SubnetSharedPublicIpAddressConfigurationResponse
    Properties that virtual machines on this subnet will share.
    useInVmCreationPermission string
    Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
    usePublicIpAddressPermission string
    Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
    virtualNetworkPoolName string
    The virtual network pool associated with this subnet.
    lab_subnet_name str
    The name given to the subnet within the lab.
    resource_id str
    The resource ID of the subnet.
    shared_public_ip_address_configuration SubnetSharedPublicIpAddressConfigurationResponse
    Properties that virtual machines on this subnet will share.
    use_in_vm_creation_permission str
    Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
    use_public_ip_address_permission str
    Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
    virtual_network_pool_name str
    The virtual network pool associated with this subnet.
    labSubnetName String
    The name given to the subnet within the lab.
    resourceId String
    The resource ID of the subnet.
    sharedPublicIpAddressConfiguration Property Map
    Properties that virtual machines on this subnet will share.
    useInVmCreationPermission String
    Indicates whether this subnet can be used during virtual machine creation (i.e. Allow, Deny).
    usePublicIpAddressPermission String
    Indicates whether public IP addresses can be assigned to virtual machines on this subnet (i.e. Allow, Deny).
    virtualNetworkPoolName String
    The virtual network pool associated with this subnet.

    SubnetResponse, SubnetResponseArgs

    AllowPublicIp string
    The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
    LabSubnetName string
    The name of the subnet as seen in the lab.
    ResourceId string
    The resource ID of the subnet.
    AllowPublicIp string
    The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
    LabSubnetName string
    The name of the subnet as seen in the lab.
    ResourceId string
    The resource ID of the subnet.
    allowPublicIp String
    The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
    labSubnetName String
    The name of the subnet as seen in the lab.
    resourceId String
    The resource ID of the subnet.
    allowPublicIp string
    The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
    labSubnetName string
    The name of the subnet as seen in the lab.
    resourceId string
    The resource ID of the subnet.
    allow_public_ip str
    The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
    lab_subnet_name str
    The name of the subnet as seen in the lab.
    resource_id str
    The resource ID of the subnet.
    allowPublicIp String
    The permission policy of the subnet for allowing public IP addresses (i.e. Allow, Deny)).
    labSubnetName String
    The name of the subnet as seen in the lab.
    resourceId String
    The resource ID of the subnet.

    SubnetSharedPublicIpAddressConfiguration, SubnetSharedPublicIpAddressConfigurationArgs

    AllowedPorts List<Pulumi.AzureNative.DevTestLab.Inputs.Port>
    Backend ports that virtual machines on this subnet are allowed to expose
    AllowedPorts []Port
    Backend ports that virtual machines on this subnet are allowed to expose
    allowedPorts List<Port>
    Backend ports that virtual machines on this subnet are allowed to expose
    allowedPorts 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
    allowedPorts List<Property Map>
    Backend ports that virtual machines on this subnet are allowed to expose

    SubnetSharedPublicIpAddressConfigurationResponse, SubnetSharedPublicIpAddressConfigurationResponseArgs

    AllowedPorts List<Pulumi.AzureNative.DevTestLab.Inputs.PortResponse>
    Backend ports that virtual machines on this subnet are allowed to expose
    AllowedPorts []PortResponse
    Backend ports that virtual machines on this subnet are allowed to expose
    allowedPorts List<PortResponse>
    Backend ports that virtual machines on this subnet are allowed to expose
    allowedPorts 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
    allowedPorts List<Property Map>
    Backend ports that virtual machines on this subnet are allowed to expose

    TransportProtocol, TransportProtocolArgs

    Tcp
    Tcp
    Udp
    Udp
    TransportProtocolTcp
    Tcp
    TransportProtocolUdp
    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
    UsagePermissionTypeDefault
    Default
    UsagePermissionTypeDeny
    Deny
    UsagePermissionTypeAllow
    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/{virtualNetworkName} 
    

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

    Package Details

    Repository
    azure-native-v1 pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native-v1 logo
    These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
    Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi