Share via


VirtualNetworkProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.scvmm.models.VirtualNetworkProperties

Implements

public final class VirtualNetworkProperties
implements JsonSerializable<VirtualNetworkProperties>

Defines the resource properties.

Constructor Summary

Constructor Description
VirtualNetworkProperties()

Creates an instance of VirtualNetworkProperties class.

Method Summary

Modifier and Type Method and Description
static VirtualNetworkProperties fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkProperties from the JsonReader.

String inventoryItemId()

Get the inventoryItemId property: Gets or sets the inventory Item ID for the resource.

String networkName()

Get the networkName property: Name of the virtual network in vmmServer.

ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

JsonWriter toJson(JsonWriter jsonWriter)
String uuid()

Get the uuid property: Unique ID of the virtual network.

void validate()

Validates the instance.

String vmmServerId()

Get the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

VirtualNetworkProperties withInventoryItemId(String inventoryItemId)

Set the inventoryItemId property: Gets or sets the inventory Item ID for the resource.

VirtualNetworkProperties withUuid(String uuid)

Set the uuid property: Unique ID of the virtual network.

VirtualNetworkProperties withVmmServerId(String vmmServerId)

Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

Methods inherited from java.lang.Object

Constructor Details

VirtualNetworkProperties

public VirtualNetworkProperties()

Creates an instance of VirtualNetworkProperties class.

Method Details

fromJson

public static VirtualNetworkProperties fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the VirtualNetworkProperties.

inventoryItemId

public String inventoryItemId()

Get the inventoryItemId property: Gets or sets the inventory Item ID for the resource.

Returns:

the inventoryItemId value.

networkName

public String networkName()

Get the networkName property: Name of the virtual network in vmmServer.

Returns:

the networkName value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: Provisioning state of the resource.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

uuid

public String uuid()

Get the uuid property: Unique ID of the virtual network.

Returns:

the uuid value.

validate

public void validate()

Validates the instance.

vmmServerId

public String vmmServerId()

Get the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

Returns:

the vmmServerId value.

withInventoryItemId

public VirtualNetworkProperties withInventoryItemId(String inventoryItemId)

Set the inventoryItemId property: Gets or sets the inventory Item ID for the resource.

Parameters:

inventoryItemId - the inventoryItemId value to set.

Returns:

the VirtualNetworkProperties object itself.

withUuid

public VirtualNetworkProperties withUuid(String uuid)

Set the uuid property: Unique ID of the virtual network.

Parameters:

uuid - the uuid value to set.

Returns:

the VirtualNetworkProperties object itself.

withVmmServerId

public VirtualNetworkProperties withVmmServerId(String vmmServerId)

Set the vmmServerId property: ARM Id of the vmmServer resource in which this resource resides.

Parameters:

vmmServerId - the vmmServerId value to set.

Returns:

the VirtualNetworkProperties object itself.

Applies to