NetworkVirtualAppliancePropertiesFormat Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.NetworkVirtualAppliancePropertiesFormat

Implements

public final class NetworkVirtualAppliancePropertiesFormat
implements JsonSerializable<NetworkVirtualAppliancePropertiesFormat>

Network Virtual Appliance definition.

Constructor Summary

Constructor Description
NetworkVirtualAppliancePropertiesFormat()

Creates an instance of NetworkVirtualAppliancePropertiesFormat class.

Method Summary

Modifier and Type Method and Description
List<VirtualApplianceAdditionalNicProperties> additionalNics()

Get the additionalNics property: Details required for Additional Network Interface.

String addressPrefix()

Get the addressPrefix property: Address Prefix.

List<String> bootStrapConfigurationBlobs()

Get the bootStrapConfigurationBlobs property: BootStrapConfigurationBlobs storage URLs.

String cloudInitConfiguration()

Get the cloudInitConfiguration property: CloudInitConfiguration string in plain text.

List<String> cloudInitConfigurationBlobs()

Get the cloudInitConfigurationBlobs property: CloudInitConfigurationBlob storage URLs.

DelegationProperties delegation()

Get the delegation property: The delegation for the Virtual Appliance.

String deploymentType()

Get the deploymentType property: The deployment type.

static NetworkVirtualAppliancePropertiesFormat fromJson(JsonReader jsonReader)

Reads an instance of NetworkVirtualAppliancePropertiesFormat from the JsonReader.

List<SubResource> inboundSecurityRules()

Get the inboundSecurityRules property: List of references to InboundSecurityRules.

List<InternetIngressPublicIpsProperties> internetIngressPublicIps()

Get the internetIngressPublicIps property: List of Resource Uri of Public IPs for Internet Ingress Scenario.

NetworkVirtualAppliancePropertiesFormatNetworkProfile networkProfile()

Get the networkProfile property: Network Profile containing configurations for Public and Private NIC.

List<NvaInterfaceConfigurationsProperties> nvaInterfaceConfigurations()

Get the nvaInterfaceConfigurations property: The NVA in VNet interface configurations.

VirtualApplianceSkuProperties nvaSku()

Get the nvaSku property: Network Virtual Appliance SKU.

PartnerManagedResourceProperties partnerManagedResource()

Get the partnerManagedResource property: The delegation for the Virtual Appliance.

String privateIpAddress()

Get the privateIpAddress property: A Internal Load Balancer's HA port frontend IP address.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

String sshPublicKey()

Get the sshPublicKey property: Public key for SSH login.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Long virtualApplianceAsn()

Get the virtualApplianceAsn property: VirtualAppliance ASN.

List<SubResource> virtualApplianceConnections()

Get the virtualApplianceConnections property: List of references to VirtualApplianceConnections.

List<VirtualApplianceNicProperties> virtualApplianceNics()

Get the virtualApplianceNics property: List of Virtual Appliance Network Interfaces.

List<SubResource> virtualApplianceSites()

Get the virtualApplianceSites property: List of references to VirtualApplianceSite.

SubResource virtualHub()

Get the virtualHub property: The Virtual Hub where Network Virtual Appliance is being deployed.

NetworkVirtualAppliancePropertiesFormat withAdditionalNics(List<VirtualApplianceAdditionalNicProperties> additionalNics)

Set the additionalNics property: Details required for Additional Network Interface.

NetworkVirtualAppliancePropertiesFormat withBootStrapConfigurationBlobs(List<String> bootStrapConfigurationBlobs)

Set the bootStrapConfigurationBlobs property: BootStrapConfigurationBlobs storage URLs.

NetworkVirtualAppliancePropertiesFormat withCloudInitConfiguration(String cloudInitConfiguration)

Set the cloudInitConfiguration property: CloudInitConfiguration string in plain text.

NetworkVirtualAppliancePropertiesFormat withCloudInitConfigurationBlobs(List<String> cloudInitConfigurationBlobs)

Set the cloudInitConfigurationBlobs property: CloudInitConfigurationBlob storage URLs.

NetworkVirtualAppliancePropertiesFormat withDelegation(DelegationProperties delegation)

Set the delegation property: The delegation for the Virtual Appliance.

NetworkVirtualAppliancePropertiesFormat withInternetIngressPublicIps(List<InternetIngressPublicIpsProperties> internetIngressPublicIps)

Set the internetIngressPublicIps property: List of Resource Uri of Public IPs for Internet Ingress Scenario.

NetworkVirtualAppliancePropertiesFormat withNetworkProfile(NetworkVirtualAppliancePropertiesFormatNetworkProfile networkProfile)

Set the networkProfile property: Network Profile containing configurations for Public and Private NIC.

NetworkVirtualAppliancePropertiesFormat withNvaInterfaceConfigurations(List<NvaInterfaceConfigurationsProperties> nvaInterfaceConfigurations)

Set the nvaInterfaceConfigurations property: The NVA in VNet interface configurations.

NetworkVirtualAppliancePropertiesFormat withNvaSku(VirtualApplianceSkuProperties nvaSku)

Set the nvaSku property: Network Virtual Appliance SKU.

NetworkVirtualAppliancePropertiesFormat withPartnerManagedResource(PartnerManagedResourceProperties partnerManagedResource)

Set the partnerManagedResource property: The delegation for the Virtual Appliance.

NetworkVirtualAppliancePropertiesFormat withSshPublicKey(String sshPublicKey)

Set the sshPublicKey property: Public key for SSH login.

NetworkVirtualAppliancePropertiesFormat withVirtualApplianceAsn(Long virtualApplianceAsn)

Set the virtualApplianceAsn property: VirtualAppliance ASN.

NetworkVirtualAppliancePropertiesFormat withVirtualHub(SubResource virtualHub)

Set the virtualHub property: The Virtual Hub where Network Virtual Appliance is being deployed.

Methods inherited from java.lang.Object

Constructor Details

NetworkVirtualAppliancePropertiesFormat

public NetworkVirtualAppliancePropertiesFormat()

Creates an instance of NetworkVirtualAppliancePropertiesFormat class.

Method Details

additionalNics

public List<VirtualApplianceAdditionalNicProperties> additionalNics()

Get the additionalNics property: Details required for Additional Network Interface. This property is not compatible with the NVA deployed in VNets.

Returns:

the additionalNics value.

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.

cloudInitConfiguration

public String cloudInitConfiguration()

Get the cloudInitConfiguration property: CloudInitConfiguration string in plain text.

Returns:

the cloudInitConfiguration value.

cloudInitConfigurationBlobs

public List<String> cloudInitConfigurationBlobs()

Get the cloudInitConfigurationBlobs property: CloudInitConfigurationBlob storage URLs.

Returns:

the cloudInitConfigurationBlobs value.

delegation

public DelegationProperties delegation()

Get the delegation property: The delegation for the Virtual Appliance. Only appliable for SaaS NVA.

Returns:

the delegation value.

deploymentType

public String deploymentType()

Get the deploymentType property: The deployment type. PartnerManaged for the SaaS NVA.

Returns:

the deploymentType value.

fromJson

public static NetworkVirtualAppliancePropertiesFormat fromJson(JsonReader jsonReader)

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.

inboundSecurityRules

public List<SubResource> inboundSecurityRules()

Get the inboundSecurityRules property: List of references to InboundSecurityRules.

Returns:

the inboundSecurityRules value.

internetIngressPublicIps

public List<InternetIngressPublicIpsProperties> internetIngressPublicIps()

Get the internetIngressPublicIps property: List of Resource Uri of Public IPs for Internet Ingress Scenario.

Returns:

the internetIngressPublicIps value.

networkProfile

public NetworkVirtualAppliancePropertiesFormatNetworkProfile networkProfile()

Get the networkProfile property: Network Profile containing configurations for Public and Private NIC.

Returns:

the networkProfile value.

nvaInterfaceConfigurations

public List<NvaInterfaceConfigurationsProperties> nvaInterfaceConfigurations()

Get the nvaInterfaceConfigurations property: The NVA in VNet interface configurations.

Returns:

the nvaInterfaceConfigurations value.

nvaSku

public VirtualApplianceSkuProperties nvaSku()

Get the nvaSku property: Network Virtual Appliance SKU.

Returns:

the nvaSku value.

partnerManagedResource

public PartnerManagedResourceProperties partnerManagedResource()

Get the partnerManagedResource property: The delegation for the Virtual Appliance.

Returns:

the partnerManagedResource value.

privateIpAddress

public String privateIpAddress()

Get the privateIpAddress property: A Internal Load Balancer's HA port frontend IP address. Can be used to set routes & UDR to load balance traffic between NVA instances.

Returns:

the privateIpAddress value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

Returns:

the provisioningState value.

sshPublicKey

public String sshPublicKey()

Get the sshPublicKey property: Public key for SSH login.

Returns:

the sshPublicKey value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

virtualApplianceAsn

public Long virtualApplianceAsn()

Get the virtualApplianceAsn property: VirtualAppliance ASN. Microsoft private, public and IANA reserved ASN are not supported.

Returns:

the virtualApplianceAsn value.

virtualApplianceConnections

public List<SubResource> virtualApplianceConnections()

Get the virtualApplianceConnections property: List of references to VirtualApplianceConnections.

Returns:

the virtualApplianceConnections value.

virtualApplianceNics

public List<VirtualApplianceNicProperties> virtualApplianceNics()

Get the virtualApplianceNics property: List of Virtual Appliance Network Interfaces.

Returns:

the virtualApplianceNics value.

virtualApplianceSites

public List<SubResource> virtualApplianceSites()

Get the virtualApplianceSites property: List of references to VirtualApplianceSite.

Returns:

the virtualApplianceSites value.

virtualHub

public SubResource virtualHub()

Get the virtualHub property: The Virtual Hub where Network Virtual Appliance is being deployed.

Returns:

the virtualHub value.

withAdditionalNics

public NetworkVirtualAppliancePropertiesFormat withAdditionalNics(List<VirtualApplianceAdditionalNicProperties> additionalNics)

Set the additionalNics property: Details required for Additional Network Interface. This property is not compatible with the NVA deployed in VNets.

Parameters:

additionalNics - the additionalNics value to set.

Returns:

the NetworkVirtualAppliancePropertiesFormat object itself.

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.

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.

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.

withDelegation

public NetworkVirtualAppliancePropertiesFormat withDelegation(DelegationProperties delegation)

Set the delegation property: The delegation for the Virtual Appliance. Only appliable for SaaS NVA.

Parameters:

delegation - the delegation value to set.

Returns:

the NetworkVirtualAppliancePropertiesFormat object itself.

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.

withNetworkProfile

public NetworkVirtualAppliancePropertiesFormat withNetworkProfile(NetworkVirtualAppliancePropertiesFormatNetworkProfile networkProfile)

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.

withNvaInterfaceConfigurations

public NetworkVirtualAppliancePropertiesFormat withNvaInterfaceConfigurations(List<NvaInterfaceConfigurationsProperties> nvaInterfaceConfigurations)

Set the nvaInterfaceConfigurations property: The NVA in VNet interface configurations.

Parameters:

nvaInterfaceConfigurations - the nvaInterfaceConfigurations value to set.

Returns:

the NetworkVirtualAppliancePropertiesFormat object itself.

withNvaSku

public NetworkVirtualAppliancePropertiesFormat withNvaSku(VirtualApplianceSkuProperties nvaSku)

Set the nvaSku property: Network Virtual Appliance SKU.

Parameters:

nvaSku - the nvaSku value to set.

Returns:

the NetworkVirtualAppliancePropertiesFormat object itself.

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.

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.

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.

withVirtualHub

public NetworkVirtualAppliancePropertiesFormat withVirtualHub(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.

Applies to