VirtualNetwork Class

A virtual network.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.devtestlabs.models._models_py3.Resource
VirtualNetwork

Constructor

VirtualNetwork(*, location: str | None = None, tags: Dict[str, str] | None = None, allowed_subnets: List[Subnet] | None = None, description: str | None = None, external_provider_resource_id: str | None = None, subnet_overrides: List[SubnetOverride] | None = None, **kwargs)

Parameters

Name Description
location
Required
str

The location of the resource.

tags
Required

A set of tags. The tags of the resource.

allowed_subnets
Required

The allowed subnets of the virtual network.

description
Required
str

The description of the virtual network.

external_provider_resource_id
Required
str

The Microsoft.Network resource identifier of the virtual network.

subnet_overrides
Required

The subnet overrides of the virtual network.

Keyword-Only Parameters

Name Description
location
Required
tags
Required
allowed_subnets
Required
description
Required
external_provider_resource_id
Required
subnet_overrides
Required

Variables

Name Description
id
str

The identifier of the resource.

name
str

The name of the resource.

type
str

The type of the resource.

external_subnets

The external subnet properties.

created_date

The creation date of the virtual network.

provisioning_state
str

The provisioning status of the resource.

unique_identifier
str

The unique immutable identifier of a resource (Guid).