NvaInterfaceConfigurationsProperties Class
- java.
lang. Object - com.
azure. resourcemanager. network. models. NvaInterfaceConfigurationsProperties
- com.
Implements
public final class NvaInterfaceConfigurationsProperties
implements JsonSerializable<NvaInterfaceConfigurationsProperties>
Specifies input parameters required NVA in VNet interface configuration.
Constructor Summary
| Constructor | Description |
|---|---|
| NvaInterfaceConfigurationsProperties() |
Creates an instance of Nva |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Nva |
fromJson(JsonReader jsonReader)
Reads an instance of Nva |
| String |
name()
Get the name property: Specifies the name of the interface. |
|
Nva |
subnet()
Get the subnet property: A subnet resource id where the NIC will be deployed. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
List<Nva |
type()
Get the type property: Specifies the NIC types for the NVA interface configuration. |
| void |
validate()
Validates the instance. |
|
Nva |
withName(String name)
Set the name property: Specifies the name of the interface. |
|
Nva |
withSubnet(NvaInVnetSubnetReferenceProperties subnet)
Set the subnet property: A subnet resource id where the NIC will be deployed. |
|
Nva |
withType(List<NvaNicType> type)
Set the type property: Specifies the NIC types for the NVA interface configuration. |
Methods inherited from java.lang.Object
Constructor Details
NvaInterfaceConfigurationsProperties
public NvaInterfaceConfigurationsProperties()
Creates an instance of NvaInterfaceConfigurationsProperties class.
Method Details
fromJson
public static NvaInterfaceConfigurationsProperties fromJson(JsonReader jsonReader)
Reads an instance of NvaInterfaceConfigurationsProperties from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: Specifies the name of the interface. Maximum length is 70 characters.
Returns:
subnet
public NvaInVnetSubnetReferenceProperties subnet()
Get the subnet property: A subnet resource id where the NIC will be deployed. Each subnet resource uri should be unique.
Returns:
toJson
type
public List<NvaNicType> type()
Get the type property: Specifies the NIC types for the NVA interface configuration. Allowed values: PrivateNic, PublicNic, AdditionalPrivateNic, AdditionalPublicNic. Only the combination of PrivateNic and PublicNic is currently supported.
Returns:
validate
public void validate()
Validates the instance.
withName
public NvaInterfaceConfigurationsProperties withName(String name)
Set the name property: Specifies the name of the interface. Maximum length is 70 characters.
Parameters:
Returns:
withSubnet
public NvaInterfaceConfigurationsProperties withSubnet(NvaInVnetSubnetReferenceProperties subnet)
Set the subnet property: A subnet resource id where the NIC will be deployed. Each subnet resource uri should be unique.
Parameters:
Returns:
withType
public NvaInterfaceConfigurationsProperties withType(List<NvaNicType> type)
Set the type property: Specifies the NIC types for the NVA interface configuration. Allowed values: PrivateNic, PublicNic, AdditionalPrivateNic, AdditionalPublicNic. Only the combination of PrivateNic and PublicNic is currently supported.
Parameters:
Returns: