1. Packages
  2. Azure Native
  3. API Docs
  4. devtestlab
  5. VirtualNetwork
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.devtestlab.VirtualNetwork

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    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 (
    	"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

    new VirtualNetwork(name: string, args: VirtualNetworkArgs, opts?: CustomResourceOptions);
    @overload
    def VirtualNetwork(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       allowed_subnets: Optional[Sequence[SubnetArgs]] = None,
                       description: Optional[str] = None,
                       external_provider_resource_id: Optional[str] = None,
                       lab_name: Optional[str] = None,
                       location: Optional[str] = None,
                       name: Optional[str] = None,
                       resource_group_name: Optional[str] = None,
                       subnet_overrides: Optional[Sequence[SubnetOverrideArgs]] = None,
                       tags: Optional[Mapping[str, str]] = None)
    @overload
    def VirtualNetwork(resource_name: str,
                       args: VirtualNetworkArgs,
                       opts: Optional[ResourceOptions] = 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.
    
    
    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.

    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

    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/{name} 
    

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.34.0 published on Thursday, Mar 28, 2024 by Pulumi