Class NetworkVirtualAppliancePropertiesFormat

java.lang.Object
com.azure.resourcemanager.network.fluent.models.NetworkVirtualAppliancePropertiesFormat
All Implemented Interfaces:
com.azure.json.JsonSerializable<NetworkVirtualAppliancePropertiesFormat>

public final class NetworkVirtualAppliancePropertiesFormat extends Object implements com.azure.json.JsonSerializable<NetworkVirtualAppliancePropertiesFormat>
Network Virtual Appliance definition.
  • Constructor Details

    • NetworkVirtualAppliancePropertiesFormat

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

    • nvaSku

      Get the nvaSku property: Network Virtual Appliance SKU.
      Returns:
      the nvaSku value.
    • withNvaSku

      Set the nvaSku property: Network Virtual Appliance SKU.
      Parameters:
      nvaSku - the nvaSku value to set.
      Returns:
      the NetworkVirtualAppliancePropertiesFormat object itself.
    • addressPrefix

      public String addressPrefix()
      Get the addressPrefix property: Address Prefix.
      Returns:
      the addressPrefix value.
    • bootStrapConfigurationBlobs

      public List<String> bootStrapConfigurationBlobs()
      Get the bootStrapConfigurationBlobs property: BootStrapConfigurationBlobs storage URLs.
      Returns:
      the bootStrapConfigurationBlobs value.
    • withBootStrapConfigurationBlobs

      public NetworkVirtualAppliancePropertiesFormat withBootStrapConfigurationBlobs(List<String> bootStrapConfigurationBlobs)
      Set the bootStrapConfigurationBlobs property: BootStrapConfigurationBlobs storage URLs.
      Parameters:
      bootStrapConfigurationBlobs - the bootStrapConfigurationBlobs value to set.
      Returns:
      the NetworkVirtualAppliancePropertiesFormat object itself.
    • virtualHub

      public com.azure.core.management.SubResource virtualHub()
      Get the virtualHub property: The Virtual Hub where Network Virtual Appliance is being deployed.
      Returns:
      the virtualHub value.
    • withVirtualHub

      public NetworkVirtualAppliancePropertiesFormat withVirtualHub(com.azure.core.management.SubResource virtualHub)
      Set the virtualHub property: The Virtual Hub where Network Virtual Appliance is being deployed.
      Parameters:
      virtualHub - the virtualHub value to set.
      Returns:
      the NetworkVirtualAppliancePropertiesFormat object itself.
    • cloudInitConfigurationBlobs

      public List<String> cloudInitConfigurationBlobs()
      Get the cloudInitConfigurationBlobs property: CloudInitConfigurationBlob storage URLs.
      Returns:
      the cloudInitConfigurationBlobs value.
    • withCloudInitConfigurationBlobs

      public NetworkVirtualAppliancePropertiesFormat withCloudInitConfigurationBlobs(List<String> cloudInitConfigurationBlobs)
      Set the cloudInitConfigurationBlobs property: CloudInitConfigurationBlob storage URLs.
      Parameters:
      cloudInitConfigurationBlobs - the cloudInitConfigurationBlobs value to set.
      Returns:
      the NetworkVirtualAppliancePropertiesFormat object itself.
    • cloudInitConfiguration

      public String cloudInitConfiguration()
      Get the cloudInitConfiguration property: CloudInitConfiguration string in plain text.
      Returns:
      the cloudInitConfiguration value.
    • withCloudInitConfiguration

      public NetworkVirtualAppliancePropertiesFormat withCloudInitConfiguration(String cloudInitConfiguration)
      Set the cloudInitConfiguration property: CloudInitConfiguration string in plain text.
      Parameters:
      cloudInitConfiguration - the cloudInitConfiguration value to set.
      Returns:
      the NetworkVirtualAppliancePropertiesFormat object itself.
    • virtualApplianceAsn

      public Long virtualApplianceAsn()
      Get the virtualApplianceAsn property: VirtualAppliance ASN. Microsoft private, public and IANA reserved ASN are not supported.
      Returns:
      the virtualApplianceAsn value.
    • withVirtualApplianceAsn

      public NetworkVirtualAppliancePropertiesFormat withVirtualApplianceAsn(Long virtualApplianceAsn)
      Set the virtualApplianceAsn property: VirtualAppliance ASN. Microsoft private, public and IANA reserved ASN are not supported.
      Parameters:
      virtualApplianceAsn - the virtualApplianceAsn value to set.
      Returns:
      the NetworkVirtualAppliancePropertiesFormat object itself.
    • sshPublicKey

      public String sshPublicKey()
      Get the sshPublicKey property: Public key for SSH login.
      Returns:
      the sshPublicKey value.
    • withSshPublicKey

      public NetworkVirtualAppliancePropertiesFormat withSshPublicKey(String sshPublicKey)
      Set the sshPublicKey property: Public key for SSH login.
      Parameters:
      sshPublicKey - the sshPublicKey value to set.
      Returns:
      the NetworkVirtualAppliancePropertiesFormat object itself.
    • virtualApplianceNics

      public List<VirtualApplianceNicProperties> virtualApplianceNics()
      Get the virtualApplianceNics property: List of Virtual Appliance Network Interfaces.
      Returns:
      the virtualApplianceNics value.
    • networkProfile

      Get the networkProfile property: Network Profile containing configurations for Public and Private NIC.
      Returns:
      the networkProfile value.
    • withNetworkProfile

      Set the networkProfile property: Network Profile containing configurations for Public and Private NIC.
      Parameters:
      networkProfile - the networkProfile value to set.
      Returns:
      the NetworkVirtualAppliancePropertiesFormat object itself.
    • additionalNics

      Get the additionalNics property: Details required for Additional Network Interface.
      Returns:
      the additionalNics value.
    • withAdditionalNics

      Set the additionalNics property: Details required for Additional Network Interface.
      Parameters:
      additionalNics - the additionalNics value to set.
      Returns:
      the NetworkVirtualAppliancePropertiesFormat object itself.
    • internetIngressPublicIps

      public List<InternetIngressPublicIpsProperties> internetIngressPublicIps()
      Get the internetIngressPublicIps property: List of Resource Uri of Public IPs for Internet Ingress Scenario.
      Returns:
      the internetIngressPublicIps value.
    • withInternetIngressPublicIps

      public NetworkVirtualAppliancePropertiesFormat withInternetIngressPublicIps(List<InternetIngressPublicIpsProperties> internetIngressPublicIps)
      Set the internetIngressPublicIps property: List of Resource Uri of Public IPs for Internet Ingress Scenario.
      Parameters:
      internetIngressPublicIps - the internetIngressPublicIps value to set.
      Returns:
      the NetworkVirtualAppliancePropertiesFormat object itself.
    • virtualApplianceSites

      public List<com.azure.core.management.SubResource> virtualApplianceSites()
      Get the virtualApplianceSites property: List of references to VirtualApplianceSite.
      Returns:
      the virtualApplianceSites value.
    • virtualApplianceConnections

      public List<com.azure.core.management.SubResource> virtualApplianceConnections()
      Get the virtualApplianceConnections property: List of references to VirtualApplianceConnections.
      Returns:
      the virtualApplianceConnections value.
    • inboundSecurityRules

      public List<com.azure.core.management.SubResource> inboundSecurityRules()
      Get the inboundSecurityRules property: List of references to InboundSecurityRules.
      Returns:
      the inboundSecurityRules value.
    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the resource.
      Returns:
      the provisioningState value.
    • deploymentType

      public String deploymentType()
      Get the deploymentType property: The deployment type. PartnerManaged for the SaaS NVA.
      Returns:
      the deploymentType value.
    • delegation

      public DelegationProperties delegation()
      Get the delegation property: The delegation for the Virtual Appliance.
      Returns:
      the delegation value.
    • withDelegation

      Set the delegation property: The delegation for the Virtual Appliance.
      Parameters:
      delegation - the delegation value to set.
      Returns:
      the NetworkVirtualAppliancePropertiesFormat object itself.
    • partnerManagedResource

      public PartnerManagedResourceProperties partnerManagedResource()
      Get the partnerManagedResource property: The delegation for the Virtual Appliance.
      Returns:
      the partnerManagedResource value.
    • withPartnerManagedResource

      public NetworkVirtualAppliancePropertiesFormat withPartnerManagedResource(PartnerManagedResourceProperties partnerManagedResource)
      Set the partnerManagedResource property: The delegation for the Virtual Appliance.
      Parameters:
      partnerManagedResource - the partnerManagedResource value to set.
      Returns:
      the NetworkVirtualAppliancePropertiesFormat object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<NetworkVirtualAppliancePropertiesFormat>
      Throws:
      IOException
    • fromJson

      public static NetworkVirtualAppliancePropertiesFormat fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of NetworkVirtualAppliancePropertiesFormat from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of NetworkVirtualAppliancePropertiesFormat 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 NetworkVirtualAppliancePropertiesFormat.