Class NetworkVirtualApplianceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.network.fluent.models.NetworkVirtualApplianceInner
-
public final class NetworkVirtualApplianceInner extends com.azure.core.management.ResourceNetworkVirtualAppliance Resource.
-
-
Constructor Summary
Constructors Constructor Description NetworkVirtualApplianceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaddressPrefix()Get the addressPrefix property: Address Prefix.List<String>bootStrapConfigurationBlobs()Get the bootStrapConfigurationBlobs property: BootStrapConfigurationBlobs storage URLs.StringcloudInitConfiguration()Get the cloudInitConfiguration property: CloudInitConfiguration string in plain text.List<String>cloudInitConfigurationBlobs()Get the cloudInitConfigurationBlobs property: CloudInitConfigurationBlob storage URLs.Stringetag()Get the etag property: A unique read-only string that changes whenever the resource is updated.Stringid()Get the id property: Resource ID.ManagedServiceIdentityidentity()Get the identity property: The service principal that has read access to cloud-init and config blob.List<com.azure.core.management.SubResource>inboundSecurityRules()Get the inboundSecurityRules property: List of references to InboundSecurityRules.VirtualApplianceSkuPropertiesnvaSku()Get the nvaSku property: Network Virtual Appliance SKU.ProvisioningStateprovisioningState()Get the provisioningState property: The provisioning state of the resource.StringsshPublicKey()Get the sshPublicKey property: Public key for SSH login.voidvalidate()Validates the instance.LongvirtualApplianceAsn()Get the virtualApplianceAsn property: VirtualAppliance ASN.List<VirtualApplianceNicProperties>virtualApplianceNics()Get the virtualApplianceNics property: List of Virtual Appliance Network Interfaces.List<com.azure.core.management.SubResource>virtualApplianceSites()Get the virtualApplianceSites property: List of references to VirtualApplianceSite.com.azure.core.management.SubResourcevirtualHub()Get the virtualHub property: The Virtual Hub where Network Virtual Appliance is being deployed.NetworkVirtualApplianceInnerwithBootStrapConfigurationBlobs(List<String> bootStrapConfigurationBlobs)Set the bootStrapConfigurationBlobs property: BootStrapConfigurationBlobs storage URLs.NetworkVirtualApplianceInnerwithCloudInitConfiguration(String cloudInitConfiguration)Set the cloudInitConfiguration property: CloudInitConfiguration string in plain text.NetworkVirtualApplianceInnerwithCloudInitConfigurationBlobs(List<String> cloudInitConfigurationBlobs)Set the cloudInitConfigurationBlobs property: CloudInitConfigurationBlob storage URLs.NetworkVirtualApplianceInnerwithId(String id)Set the id property: Resource ID.NetworkVirtualApplianceInnerwithIdentity(ManagedServiceIdentity identity)Set the identity property: The service principal that has read access to cloud-init and config blob.NetworkVirtualApplianceInnerwithLocation(String location)NetworkVirtualApplianceInnerwithNvaSku(VirtualApplianceSkuProperties nvaSku)Set the nvaSku property: Network Virtual Appliance SKU.NetworkVirtualApplianceInnerwithSshPublicKey(String sshPublicKey)Set the sshPublicKey property: Public key for SSH login.NetworkVirtualApplianceInnerwithTags(Map<String,String> tags)NetworkVirtualApplianceInnerwithVirtualApplianceAsn(Long virtualApplianceAsn)Set the virtualApplianceAsn property: VirtualAppliance ASN.NetworkVirtualApplianceInnerwithVirtualHub(com.azure.core.management.SubResource virtualHub)Set the virtualHub property: The Virtual Hub where Network Virtual Appliance is being deployed.
-
-
-
Method Detail
-
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:
idin classcom.azure.core.management.ProxyResource- Returns:
- the id value.
-
withId
public NetworkVirtualApplianceInner withId(String id)
Set the id property: Resource ID.- Parameters:
id- the id value to set.- Returns:
- the NetworkVirtualApplianceInner object itself.
-
withLocation
public NetworkVirtualApplianceInner withLocation(String location)
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
public NetworkVirtualApplianceInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
nvaSku
public VirtualApplianceSkuProperties nvaSku()
Get the nvaSku property: Network Virtual Appliance SKU.- Returns:
- the nvaSku value.
-
withNvaSku
public NetworkVirtualApplianceInner withNvaSku(VirtualApplianceSkuProperties nvaSku)
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.- Returns:
- the virtualApplianceAsn value.
-
withVirtualApplianceAsn
public NetworkVirtualApplianceInner withVirtualApplianceAsn(Long virtualApplianceAsn)
Set the virtualApplianceAsn property: VirtualAppliance ASN.- 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.
-
virtualApplianceSites
public List<com.azure.core.management.SubResource> virtualApplianceSites()
Get the virtualApplianceSites property: List of references to VirtualApplianceSite.- Returns:
- the virtualApplianceSites 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.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-