VirtualNetworkFunctionTemplate Class

  • java.lang.Object
    • com.azure.resourcemanager.hybridnetwork.models.VirtualNetworkFunctionTemplate

Implements

public class VirtualNetworkFunctionTemplate
implements JsonSerializable<VirtualNetworkFunctionTemplate>

Virtual network function template.

Constructor Summary

Constructor Description
VirtualNetworkFunctionTemplate()

Creates an instance of VirtualNetworkFunctionTemplate class.

Method Summary

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

Reads an instance of VirtualNetworkFunctionTemplate from the JsonReader.

VirtualNetworkFunctionNfviType nfviType()

Get the nfviType property: The network function type.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

VirtualNetworkFunctionTemplate

public VirtualNetworkFunctionTemplate()

Creates an instance of VirtualNetworkFunctionTemplate class.

Method Details

fromJson

public static VirtualNetworkFunctionTemplate fromJson(JsonReader jsonReader)

Reads an instance of VirtualNetworkFunctionTemplate from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of VirtualNetworkFunctionTemplate 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 VirtualNetworkFunctionTemplate.

nfviType

public VirtualNetworkFunctionNfviType nfviType()

Get the nfviType property: The network function type.

Returns:

the nfviType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to