Class NetworkFunctionUserConfiguration
java.lang.Object
com.azure.resourcemanager.hybridnetwork.models.NetworkFunctionUserConfiguration
The network function user configuration.
-
Constructor Summary
ConstructorDescriptionCreates an instance of NetworkFunctionUserConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the networkInterfaces property: The network interface configuration.Get the osProfile property: Specifies the operating system settings for the role instance.roleName()
Get the roleName property: The name of the network function role.Get the userDataParameters property: The user data parameters from the customer.void
validate()
Validates the instance.withNetworkInterfaces
(List<NetworkInterface> networkInterfaces) Set the networkInterfaces property: The network interface configuration.Set the osProfile property: Specifies the operating system settings for the role instance.withRoleName
(String roleName) Set the roleName property: The name of the network function role.withUserDataParameters
(Object userDataParameters) Set the userDataParameters property: The user data parameters from the customer.
-
Constructor Details
-
NetworkFunctionUserConfiguration
public NetworkFunctionUserConfiguration()Creates an instance of NetworkFunctionUserConfiguration class.
-
-
Method Details
-
roleName
Get the roleName property: The name of the network function role.- Returns:
- the roleName value.
-
withRoleName
Set the roleName property: The name of the network function role.- Parameters:
roleName
- the roleName value to set.- Returns:
- the NetworkFunctionUserConfiguration object itself.
-
userDataParameters
Get the userDataParameters property: The user data parameters from the customer.- Returns:
- the userDataParameters value.
-
withUserDataParameters
Set the userDataParameters property: The user data parameters from the customer.- Parameters:
userDataParameters
- the userDataParameters value to set.- Returns:
- the NetworkFunctionUserConfiguration object itself.
-
networkInterfaces
Get the networkInterfaces property: The network interface configuration.- Returns:
- the networkInterfaces value.
-
withNetworkInterfaces
public NetworkFunctionUserConfiguration withNetworkInterfaces(List<NetworkInterface> networkInterfaces) Set the networkInterfaces property: The network interface configuration.- Parameters:
networkInterfaces
- the networkInterfaces value to set.- Returns:
- the NetworkFunctionUserConfiguration object itself.
-
osProfile
Get the osProfile property: Specifies the operating system settings for the role instance.- Returns:
- the osProfile value.
-
withOsProfile
public NetworkFunctionUserConfiguration withOsProfile(NetworkFunctionUserConfigurationOsProfile osProfile) Set the osProfile property: Specifies the operating system settings for the role instance.- Parameters:
osProfile
- the osProfile value to set.- Returns:
- the NetworkFunctionUserConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-