Class NetworkVirtualApplianceInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.network.fluent.models.NetworkVirtualApplianceInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class NetworkVirtualApplianceInner extends com.azure.core.management.Resource
NetworkVirtualAppliance Resource.
  • Constructor Details

    • NetworkVirtualApplianceInner

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

    • identity

      public ManagedServiceIdentity identity()
      Get the identity property: The service principal that has read access to cloud-init and config blob.
      Returns:
      the identity value.
    • withIdentity

      public NetworkVirtualApplianceInner withIdentity(ManagedServiceIdentity identity)
      Set the identity property: The service principal that has read access to cloud-init and config blob.
      Parameters:
      identity - the identity value to set.
      Returns:
      the NetworkVirtualApplianceInner object itself.
    • etag

      public String etag()
      Get the etag property: A unique read-only string that changes whenever the resource is updated.
      Returns:
      the etag value.
    • id

      public String id()
      Get the id property: Resource ID.
      Overrides:
      id in class com.azure.core.management.ProxyResource
      Returns:
      the id value.
    • withId

      Set the id property: Resource ID.
      Parameters:
      id - the id value to set.
      Returns:
      the NetworkVirtualApplianceInner object itself.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class com.azure.core.management.ProxyResource
      Returns:
      the type value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class com.azure.core.management.ProxyResource
      Returns:
      the name value.
    • withLocation

      public NetworkVirtualApplianceInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public NetworkVirtualApplianceInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • 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 NetworkVirtualApplianceInner 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 NetworkVirtualApplianceInner withBootStrapConfigurationBlobs(List<String> bootStrapConfigurationBlobs)
      Set the bootStrapConfigurationBlobs property: BootStrapConfigurationBlobs storage URLs.
      Parameters:
      bootStrapConfigurationBlobs - the bootStrapConfigurationBlobs value to set.
      Returns:
      the NetworkVirtualApplianceInner 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 NetworkVirtualApplianceInner 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 NetworkVirtualApplianceInner object itself.
    • cloudInitConfigurationBlobs

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

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

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

      public NetworkVirtualApplianceInner withCloudInitConfiguration(String cloudInitConfiguration)
      Set the cloudInitConfiguration property: CloudInitConfiguration string in plain text.
      Parameters:
      cloudInitConfiguration - the cloudInitConfiguration value to set.
      Returns:
      the NetworkVirtualApplianceInner 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 NetworkVirtualApplianceInner 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 NetworkVirtualApplianceInner object itself.
    • sshPublicKey

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

      public NetworkVirtualApplianceInner withSshPublicKey(String sshPublicKey)
      Set the sshPublicKey property: Public key for SSH login.
      Parameters:
      sshPublicKey - the sshPublicKey value to set.
      Returns:
      the NetworkVirtualApplianceInner 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 NetworkVirtualApplianceInner object itself.
    • additionalNics

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

      public NetworkVirtualApplianceInner withAdditionalNics(List<VirtualApplianceAdditionalNicProperties> additionalNics)
      Set the additionalNics property: Details required for Additional Network Interface.
      Parameters:
      additionalNics - the additionalNics value to set.
      Returns:
      the NetworkVirtualApplianceInner 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 NetworkVirtualApplianceInner 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 NetworkVirtualApplianceInner 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

      public NetworkVirtualApplianceInner withDelegation(DelegationProperties delegation)
      Set the delegation property: The delegation for the Virtual Appliance.
      Parameters:
      delegation - the delegation value to set.
      Returns:
      the NetworkVirtualApplianceInner object itself.
    • partnerManagedResource

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

      public NetworkVirtualApplianceInner withPartnerManagedResource(PartnerManagedResourceProperties partnerManagedResource)
      Set the partnerManagedResource property: The delegation for the Virtual Appliance.
      Parameters:
      partnerManagedResource - the partnerManagedResource value to set.
      Returns:
      the NetworkVirtualApplianceInner 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<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class com.azure.core.management.Resource
      Throws:
      IOException
    • fromJson

      public static NetworkVirtualApplianceInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of NetworkVirtualApplianceInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of NetworkVirtualApplianceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the NetworkVirtualApplianceInner.