Class NetworkFunctionRoleConfiguration

java.lang.Object
com.azure.resourcemanager.hybridnetwork.models.NetworkFunctionRoleConfiguration

public final class NetworkFunctionRoleConfiguration extends Object
Network function role configuration.
  • Constructor Details

    • NetworkFunctionRoleConfiguration

      public NetworkFunctionRoleConfiguration()
      Creates an instance of NetworkFunctionRoleConfiguration class.
  • Method Details

    • roleName

      public String roleName()
      Get the roleName property: The name of the network function role.
      Returns:
      the roleName value.
    • withRoleName

      public NetworkFunctionRoleConfiguration withRoleName(String roleName)
      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

      public VirtualMachineSizeTypes 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

      public OsProfile 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

      public NetworkFunctionRoleConfiguration withOsProfile(OsProfile osProfile)
      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

      public Object 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

      public NetworkFunctionRoleConfiguration withUserDataTemplate(Object userDataTemplate)
      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

      public Object 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

      public NetworkFunctionRoleConfiguration withUserDataParameters(Object userDataParameters)
      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

      public List<NetworkInterface> 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

      public StorageProfile storageProfile()
      Get the storageProfile property: Specifies the storage settings for the virtual machine disks.
      Returns:
      the storageProfile value.
    • withStorageProfile

      public NetworkFunctionRoleConfiguration withStorageProfile(StorageProfile storageProfile)
      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

      public CustomProfile customProfile()
      Get the customProfile property: Specifies the custom settings for the virtual machine.
      Returns:
      the customProfile value.
    • withCustomProfile

      public NetworkFunctionRoleConfiguration withCustomProfile(CustomProfile customProfile)
      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.