VirtualNetwork Class

A virtual network.

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

Constructor

VirtualNetwork(*, location: str | None = None, tags: dict[str, str] | None = None, allowed_subnets: list['_models.Subnet'] | None = None, description: str | None = None, external_provider_resource_id: str | None = None, subnet_overrides: list['_models.SubnetOverride'] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
location
str

The location of the resource.

Default value: None
tags

The tags of the resource.

Default value: None
allowed_subnets

The allowed subnets of the virtual network.

Default value: None
description
str

The description of the virtual network.

Default value: None
external_provider_resource_id
str

The Microsoft.Network resource identifier of the virtual network.

Default value: None
subnet_overrides

The subnet overrides of the virtual network.

Default value: None

Variables

Name Description
id
str

The identifier of the resource.

name
str

The name of the resource.

type
str

The type of the resource.

location
str

The location of the resource.

tags

The tags of the resource.

allowed_subnets

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.

external_subnets

The external subnet properties.

subnet_overrides

The subnet overrides of the virtual network.

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).