Share via


VirtualNetwork Class

Definition

The Virtual Network resource definition.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.VirtualNetworkTypeConverter))]
public class VirtualNetwork : Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetwork, Microsoft.Azure.PowerShell.Cmdlets.AksArc.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.VirtualNetworkTypeConverter))>]
type VirtualNetwork = class
    interface IVirtualNetwork
    interface IJsonSerializable
    interface ITrackedResource
    interface IResource
    interface IValidates
Public Class VirtualNetwork
Implements IValidates, IVirtualNetwork
Inheritance
VirtualNetwork
Attributes
Implements

Constructors

VirtualNetwork()

Creates an new VirtualNetwork instance.

Properties

Code

The error code from the operation.

DnsServer

List of DNS server IP Addresses associated with the network

ExtendedLocationName

ARM Id of the extended location.

ExtendedLocationType

The extended location type. Allowed value: 'CustomLocation'

Gateway

IP Address of the Gateway associated with the network

HciMocGroup

Group in MOC(Microsoft On-premises Cloud)

HciMocLocation

Location in MOC(Microsoft On-premises Cloud)

HciMocVnetName

Virtual Network name in MOC(Microsoft On-premises Cloud)

Id

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

IPAddressPrefix

IP Address Prefix of the network

Location

The geo-location where the resource lives

Message

The error message from the operation.

Name

The name of the resource

OperationStatus

The status of the operation.

OperationStatusOperationId

The identifier of the operation.

ProvisioningState
ResourceGroupName

Gets the resource group name

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Tag

Resource tags.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

VipPool

Range of IP Addresses for Kubernetes API Server and services if using HA Proxy load balancer

VlanId

VLAN Id used by the network

VmipPool

Range of IP Addresses for Kubernetes node VMs

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualNetwork.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualNetwork.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.AksArc.Models.IVirtualNetwork.

FromJsonString(String)

Creates a new instance of VirtualNetwork, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualNetwork into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to