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 Summary
ConstructorsConstructorDescriptionCreates an instance of NetworkVirtualAppliancePropertiesFormat class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalNics property: Details required for Additional Network Interface.Get the addressPrefix property: Address Prefix.Get the bootStrapConfigurationBlobs property: BootStrapConfigurationBlobs storage URLs.Get the cloudInitConfiguration property: CloudInitConfiguration string in plain text.Get the cloudInitConfigurationBlobs property: CloudInitConfigurationBlob storage URLs.Get the delegation property: The delegation for the Virtual Appliance.Get the deploymentType property: The deployment type.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of NetworkVirtualAppliancePropertiesFormat from the JsonReader.List<com.azure.core.management.SubResource> Get the inboundSecurityRules property: List of references to InboundSecurityRules.Get the internetIngressPublicIps property: List of Resource Uri of Public IPs for Internet Ingress Scenario.Get the networkProfile property: Network Profile containing configurations for Public and Private NIC.nvaSku()Get the nvaSku property: Network Virtual Appliance SKU.Get the partnerManagedResource property: The delegation for the Virtual Appliance.Get the provisioningState property: The provisioning state of the resource.Get the sshPublicKey property: Public key for SSH login.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Get the virtualApplianceAsn property: VirtualAppliance ASN.List<com.azure.core.management.SubResource> Get the virtualApplianceConnections property: List of references to VirtualApplianceConnections.Get the virtualApplianceNics property: List of Virtual Appliance Network Interfaces.List<com.azure.core.management.SubResource> Get the virtualApplianceSites property: List of references to VirtualApplianceSite.com.azure.core.management.SubResourceGet the virtualHub property: The Virtual Hub where Network Virtual Appliance is being deployed.withAdditionalNics(List<VirtualApplianceAdditionalNicProperties> additionalNics) Set the additionalNics property: Details required for Additional Network Interface.withBootStrapConfigurationBlobs(List<String> bootStrapConfigurationBlobs) Set the bootStrapConfigurationBlobs property: BootStrapConfigurationBlobs storage URLs.withCloudInitConfiguration(String cloudInitConfiguration) Set the cloudInitConfiguration property: CloudInitConfiguration string in plain text.withCloudInitConfigurationBlobs(List<String> cloudInitConfigurationBlobs) Set the cloudInitConfigurationBlobs property: CloudInitConfigurationBlob storage URLs.withDelegation(DelegationProperties delegation) Set the delegation property: The delegation for the Virtual Appliance.withInternetIngressPublicIps(List<InternetIngressPublicIpsProperties> internetIngressPublicIps) Set the internetIngressPublicIps property: List of Resource Uri of Public IPs for Internet Ingress Scenario.Set the networkProfile property: Network Profile containing configurations for Public and Private NIC.Set the nvaSku property: Network Virtual Appliance SKU.withPartnerManagedResource(PartnerManagedResourceProperties partnerManagedResource) Set the partnerManagedResource property: The delegation for the Virtual Appliance.withSshPublicKey(String sshPublicKey) Set the sshPublicKey property: Public key for SSH login.withVirtualApplianceAsn(Long virtualApplianceAsn) Set the virtualApplianceAsn property: VirtualAppliance ASN.withVirtualHub(com.azure.core.management.SubResource virtualHub) Set the virtualHub property: The Virtual Hub where Network Virtual Appliance is being deployed.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
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
Get the addressPrefix property: Address Prefix.- Returns:
- the addressPrefix value.
-
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
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
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
Get the virtualApplianceAsn property: VirtualAppliance ASN. Microsoft private, public and IANA reserved ASN are not supported.- Returns:
- the virtualApplianceAsn value.
-
withVirtualApplianceAsn
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
Get the sshPublicKey property: Public key for SSH login.- Returns:
- the sshPublicKey value.
-
withSshPublicKey
Set the sshPublicKey property: Public key for SSH login.- Parameters:
sshPublicKey- the sshPublicKey value to set.- Returns:
- the NetworkVirtualAppliancePropertiesFormat object itself.
-
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
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.
-
additionalNics
Get the additionalNics property: Details required for Additional Network Interface.- Returns:
- the additionalNics value.
-
withAdditionalNics
public NetworkVirtualAppliancePropertiesFormat withAdditionalNics(List<VirtualApplianceAdditionalNicProperties> additionalNics) Set the additionalNics property: Details required for Additional Network Interface.- Parameters:
additionalNics- the additionalNics value to set.- Returns:
- the NetworkVirtualAppliancePropertiesFormat object itself.
-
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
Get the virtualApplianceSites property: List of references to VirtualApplianceSite.- Returns:
- the virtualApplianceSites value.
-
virtualApplianceConnections
Get the virtualApplianceConnections property: List of references to VirtualApplianceConnections.- Returns:
- the virtualApplianceConnections value.
-
inboundSecurityRules
Get the inboundSecurityRules property: List of references to InboundSecurityRules.- Returns:
- the inboundSecurityRules value.
-
provisioningState
Get the provisioningState property: The provisioning state of the resource.- Returns:
- the provisioningState value.
-
deploymentType
Get the deploymentType property: The deployment type. PartnerManaged for the SaaS NVA.- Returns:
- the deploymentType value.
-
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
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
- Specified by:
toJsonin interfacecom.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.
-