共用方式為


VirtualHubData Class

Definition

A class representing the VirtualHub data model. VirtualHub Resource.

public class VirtualHubData : Azure.ResourceManager.Network.Models.NetworkTrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Network.VirtualHubData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Network.VirtualHubData>
type VirtualHubData = class
    inherit NetworkTrackedResourceData
    interface IJsonModel<VirtualHubData>
    interface IPersistableModel<VirtualHubData>
Public Class VirtualHubData
Inherits NetworkTrackedResourceData
Implements IJsonModel(Of VirtualHubData), IPersistableModel(Of VirtualHubData)
Inheritance
Implements

Constructors

VirtualHubData()

Initializes a new instance of VirtualHubData.

Properties

AddressPrefix

Address-prefix for this VirtualHub.

AllowBranchToBranchTraffic

Flag to control transit for VirtualRouter hub.

AzureFirewallId

Gets or sets Id.

BgpConnections

List of references to Bgp Connections.

ETag

A unique read-only string that changes whenever the resource is updated.

ExpressRouteGatewayId

Gets or sets Id.

HubRoutingPreference

The hubRoutingPreference of this VirtualHub.

Id

Resource ID.

(Inherited from NetworkTrackedResourceData)
IPConfigurations

List of references to IpConfigurations.

Kind

Kind of service virtual hub. This is metadata used for the Azure portal experience for Route Server.

Location

Resource location.

(Inherited from NetworkTrackedResourceData)
Name

Resource name.

(Inherited from NetworkTrackedResourceData)
P2SVpnGatewayId

Gets or sets Id.

PreferredRoutingGateway

The preferred gateway to route on-prem traffic.

ProvisioningState

The provisioning state of the virtual hub resource.

ResourceType

Resource type.

(Inherited from NetworkTrackedResourceData)
RouteMaps

List of references to RouteMaps.

Routes

List of all routes.

RoutingState

The routing state.

SecurityPartnerProviderId

Gets or sets Id.

SecurityProviderName

The Security Provider name.

Sku

The sku of this VirtualHub.

Tags

Resource tags.

(Inherited from NetworkTrackedResourceData)
VirtualHubRouteTableV2S

List of all virtual hub route table v2s associated with this VirtualHub.

VirtualRouterAsn

VirtualRouter ASN.

VirtualRouterAutoScaleMinCapacity

The minimum number of scale units for VirtualHub Router.

VirtualRouterIPs

VirtualRouter IPs.

VirtualWanId

Gets or sets Id.

VpnGatewayId

Gets or sets Id.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from NetworkTrackedResourceData)

Explicit Interface Implementations

IJsonModel<NetworkTrackedResourceData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from NetworkTrackedResourceData)
IJsonModel<NetworkTrackedResourceData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from NetworkTrackedResourceData)
IJsonModel<VirtualHubData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VirtualHubData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<NetworkTrackedResourceData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from NetworkTrackedResourceData)
IPersistableModel<NetworkTrackedResourceData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from NetworkTrackedResourceData)
IPersistableModel<NetworkTrackedResourceData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from NetworkTrackedResourceData)
IPersistableModel<VirtualHubData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VirtualHubData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VirtualHubData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to