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 Summary
ConstructorsConstructorDescriptionCreates an instance of NetworkVirtualApplianceInner 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.etag()Get the etag property: A unique read-only string that changes whenever the resource is updated.static NetworkVirtualApplianceInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of NetworkVirtualApplianceInner from the JsonReader.id()Get the id property: Resource ID.identity()Get the identity property: The service principal that has read access to cloud-init and config blob.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.name()Get the name property: The name of the resource.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) type()Get the type property: The type of the resource.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.Set the id property: Resource ID.withIdentity(ManagedServiceIdentity identity) Set the identity property: The service principal that has read access to cloud-init and config blob.withInternetIngressPublicIps(List<InternetIngressPublicIpsProperties> internetIngressPublicIps) Set the internetIngressPublicIps property: List of Resource Uri of Public IPs for Internet Ingress Scenario.withLocation(String location) 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 com.azure.core.management.Resource
location, tagsMethods 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
-
NetworkVirtualApplianceInner
public NetworkVirtualApplianceInner()Creates an instance of NetworkVirtualApplianceInner class.
-
-
Method Details
-
identity
Get the identity property: The service principal that has read access to cloud-init and config blob.- Returns:
- the identity value.
-
withIdentity
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
Get the etag property: A unique read-only string that changes whenever the resource is updated.- Returns:
- the etag value.
-
id
Get the id property: Resource ID.- Overrides:
idin classcom.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
Get the type property: The type of the resource.- Overrides:
typein classcom.azure.core.management.ProxyResource- Returns:
- the type value.
-
name
Get the name property: The name of the resource.- Overrides:
namein classcom.azure.core.management.ProxyResource- Returns:
- the name value.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.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
Get the addressPrefix property: Address Prefix.- Returns:
- the addressPrefix value.
-
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
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
Get the cloudInitConfiguration property: CloudInitConfiguration string in plain text.- Returns:
- the cloudInitConfiguration value.
-
withCloudInitConfiguration
Set the cloudInitConfiguration property: CloudInitConfiguration string in plain text.- Parameters:
cloudInitConfiguration- the cloudInitConfiguration value to set.- Returns:
- the NetworkVirtualApplianceInner 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 NetworkVirtualApplianceInner 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 NetworkVirtualApplianceInner 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 NetworkVirtualApplianceInner 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 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
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
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 NetworkVirtualApplianceInner object itself.
-
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
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>- Overrides:
toJsonin classcom.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.
-