VirtualNetworkInner Class

  • java.lang.Object
    • com.azure.resourcemanager.vmwarecloudsimple.fluent.models.VirtualNetworkInner

Implements

public final class VirtualNetworkInner
implements JsonSerializable<VirtualNetworkInner>

Virtual network model.

Constructor Summary

Constructor Description
VirtualNetworkInner()

Creates an instance of VirtualNetworkInner class.

Method Summary

Modifier and Type Method and Description
Boolean assignable()

Get the assignable property: can be used in vm creation/deletion.

static VirtualNetworkInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkInner from the JsonReader.

String id()

Get the id property: virtual network id (privateCloudId:vsphereId).

String location()

Get the location property: Azure region.

String name()

Get the name property: {VirtualNetworkName}.

String privateCloudId()

Get the privateCloudId property: The Private Cloud id.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: {resourceProviderNamespace}/{resourceType}.

void validate()

Validates the instance.

VirtualNetworkInner withId(String id)

Set the id property: virtual network id (privateCloudId:vsphereId).

Methods inherited from java.lang.Object

Constructor Details

VirtualNetworkInner

public VirtualNetworkInner()

Creates an instance of VirtualNetworkInner class.

Method Details

assignable

public Boolean assignable()

Get the assignable property: can be used in vm creation/deletion.

Returns:

the assignable value.

fromJson

public static VirtualNetworkInner fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VirtualNetworkInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: virtual network id (privateCloudId:vsphereId).

Returns:

the id value.

location

public String location()

Get the location property: Azure region.

Returns:

the location value.

name

public String name()

Get the name property: {VirtualNetworkName}.

Returns:

the name value.

privateCloudId

public String privateCloudId()

Get the privateCloudId property: The Private Cloud id.

Returns:

the privateCloudId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: {resourceProviderNamespace}/{resourceType}.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withId

public VirtualNetworkInner withId(String id)

Set the id property: virtual network id (privateCloudId:vsphereId).

Parameters:

id - the id value to set.

Returns:

the VirtualNetworkInner object itself.

Applies to