Class NetworkFunctionRoleConfiguration
java.lang.Object
com.azure.resourcemanager.hybridnetwork.models.NetworkFunctionRoleConfiguration
Network function role configuration.
-
Constructor Summary
ConstructorDescriptionCreates an instance of NetworkFunctionRoleConfiguration class. -
Method Summary
Modifier and TypeMethodDescriptionGet the customProfile property: Specifies the custom settings for the virtual machine.Get the networkInterfaces property: The network interface configurations.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.roleType()
Get the roleType property: Role type.Get the storageProfile property: Specifies the storage settings for the virtual machine disks.Get the userDataParameters property: The user parameters for customers.Get the userDataTemplate property: The user data template for customers.void
validate()
Validates the instance.Get the virtualMachineSize property: The size of the virtual machine.withCustomProfile
(CustomProfile customProfile) Set the customProfile property: Specifies the custom settings for the virtual machine.withNetworkInterfaces
(List<NetworkInterface> networkInterfaces) Set the networkInterfaces property: The network interface configurations.withOsProfile
(OsProfile osProfile) 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.Set the roleType property: Role type.withStorageProfile
(StorageProfile storageProfile) Set the storageProfile property: Specifies the storage settings for the virtual machine disks.withUserDataParameters
(Object userDataParameters) Set the userDataParameters property: The user parameters for customers.withUserDataTemplate
(Object userDataTemplate) Set the userDataTemplate property: The user data template for customers.withVirtualMachineSize
(VirtualMachineSizeTypes virtualMachineSize) Set the virtualMachineSize property: The size of the virtual machine.
-
Constructor Details
-
NetworkFunctionRoleConfiguration
public NetworkFunctionRoleConfiguration()Creates an instance of NetworkFunctionRoleConfiguration 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 NetworkFunctionRoleConfiguration object itself.
-
roleType
Get the roleType property: Role type.- Returns:
- the roleType value.
-
withRoleType
Set the roleType property: Role type.- Parameters:
roleType
- the roleType value to set.- Returns:
- the NetworkFunctionRoleConfiguration object itself.
-
virtualMachineSize
Get the virtualMachineSize property: The size of the virtual machine.- Returns:
- the virtualMachineSize value.
-
withVirtualMachineSize
public NetworkFunctionRoleConfiguration withVirtualMachineSize(VirtualMachineSizeTypes virtualMachineSize) Set the virtualMachineSize property: The size of the virtual machine.- Parameters:
virtualMachineSize
- the virtualMachineSize value to set.- Returns:
- the NetworkFunctionRoleConfiguration object itself.
-
osProfile
Get the osProfile property: Specifies the operating system settings for the role instance. This value can be updated during the deployment of network function.- Returns:
- the osProfile value.
-
withOsProfile
Set the osProfile property: Specifies the operating system settings for the role instance. This value can be updated during the deployment of network function.- Parameters:
osProfile
- the osProfile value to set.- Returns:
- the NetworkFunctionRoleConfiguration object itself.
-
userDataTemplate
Get the userDataTemplate property: The user data template for customers. This is a json schema template describing the format and data type of user data parameters.- Returns:
- the userDataTemplate value.
-
withUserDataTemplate
Set the userDataTemplate property: The user data template for customers. This is a json schema template describing the format and data type of user data parameters.- Parameters:
userDataTemplate
- the userDataTemplate value to set.- Returns:
- the NetworkFunctionRoleConfiguration object itself.
-
userDataParameters
Get the userDataParameters property: The user parameters for customers. The format of user data parameters has to be matched with the provided user data template.- Returns:
- the userDataParameters value.
-
withUserDataParameters
Set the userDataParameters property: The user parameters for customers. The format of user data parameters has to be matched with the provided user data template.- Parameters:
userDataParameters
- the userDataParameters value to set.- Returns:
- the NetworkFunctionRoleConfiguration object itself.
-
networkInterfaces
Get the networkInterfaces property: The network interface configurations.- Returns:
- the networkInterfaces value.
-
withNetworkInterfaces
public NetworkFunctionRoleConfiguration withNetworkInterfaces(List<NetworkInterface> networkInterfaces) Set the networkInterfaces property: The network interface configurations.- Parameters:
networkInterfaces
- the networkInterfaces value to set.- Returns:
- the NetworkFunctionRoleConfiguration object itself.
-
storageProfile
Get the storageProfile property: Specifies the storage settings for the virtual machine disks.- Returns:
- the storageProfile value.
-
withStorageProfile
Set the storageProfile property: Specifies the storage settings for the virtual machine disks.- Parameters:
storageProfile
- the storageProfile value to set.- Returns:
- the NetworkFunctionRoleConfiguration object itself.
-
customProfile
Get the customProfile property: Specifies the custom settings for the virtual machine.- Returns:
- the customProfile value.
-
withCustomProfile
Set the customProfile property: Specifies the custom settings for the virtual machine.- Parameters:
customProfile
- the customProfile value to set.- Returns:
- the NetworkFunctionRoleConfiguration object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-