Class NetworkProfile
java.lang.Object
com.azure.resourcemanager.appplatform.models.NetworkProfile
- All Implemented Interfaces:
com.azure.json.JsonSerializable<NetworkProfile>
public final class NetworkProfile
extends Object
implements com.azure.json.JsonSerializable<NetworkProfile>
Service network profile payload.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the appNetworkResourceGroup property: Name of the resource group containing network resources for customer apps in Azure Spring Apps.Get the appSubnetId property: Fully qualified resource Id of the subnet to host customer apps in Azure Spring Apps.static NetworkProfilefromJson(com.azure.json.JsonReader jsonReader) Reads an instance of NetworkProfile from the JsonReader.Get the ingressConfig property: Ingress configuration payload for Azure Spring Apps resource.Get the outboundIPs property: Desired outbound IP resources for Azure Spring Apps resource.Get the outboundType property: The egress traffic type of Azure Spring Apps VNet instances.Get the requiredTraffics property: Required inbound or outbound traffics for Azure Spring Apps resource.Get the serviceCidr property: Azure Spring Apps service reserved CIDR.Get the serviceRuntimeNetworkResourceGroup property: Name of the resource group containing network resources of Azure Spring Apps Service Runtime.Get the serviceRuntimeSubnetId property: Fully qualified resource Id of the subnet to host Azure Spring Apps Service Runtime.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withAppNetworkResourceGroup(String appNetworkResourceGroup) Set the appNetworkResourceGroup property: Name of the resource group containing network resources for customer apps in Azure Spring Apps.withAppSubnetId(String appSubnetId) Set the appSubnetId property: Fully qualified resource Id of the subnet to host customer apps in Azure Spring Apps.withIngressConfig(IngressConfig ingressConfig) Set the ingressConfig property: Ingress configuration payload for Azure Spring Apps resource.withOutboundType(String outboundType) Set the outboundType property: The egress traffic type of Azure Spring Apps VNet instances.withServiceCidr(String serviceCidr) Set the serviceCidr property: Azure Spring Apps service reserved CIDR.withServiceRuntimeNetworkResourceGroup(String serviceRuntimeNetworkResourceGroup) Set the serviceRuntimeNetworkResourceGroup property: Name of the resource group containing network resources of Azure Spring Apps Service Runtime.withServiceRuntimeSubnetId(String serviceRuntimeSubnetId) Set the serviceRuntimeSubnetId property: Fully qualified resource Id of the subnet to host Azure Spring Apps Service Runtime.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
-
NetworkProfile
public NetworkProfile()Creates an instance of NetworkProfile class.
-
-
Method Details
-
serviceRuntimeSubnetId
Get the serviceRuntimeSubnetId property: Fully qualified resource Id of the subnet to host Azure Spring Apps Service Runtime.- Returns:
- the serviceRuntimeSubnetId value.
-
withServiceRuntimeSubnetId
Set the serviceRuntimeSubnetId property: Fully qualified resource Id of the subnet to host Azure Spring Apps Service Runtime.- Parameters:
serviceRuntimeSubnetId- the serviceRuntimeSubnetId value to set.- Returns:
- the NetworkProfile object itself.
-
appSubnetId
Get the appSubnetId property: Fully qualified resource Id of the subnet to host customer apps in Azure Spring Apps.- Returns:
- the appSubnetId value.
-
withAppSubnetId
Set the appSubnetId property: Fully qualified resource Id of the subnet to host customer apps in Azure Spring Apps.- Parameters:
appSubnetId- the appSubnetId value to set.- Returns:
- the NetworkProfile object itself.
-
serviceCidr
Get the serviceCidr property: Azure Spring Apps service reserved CIDR.- Returns:
- the serviceCidr value.
-
withServiceCidr
Set the serviceCidr property: Azure Spring Apps service reserved CIDR.- Parameters:
serviceCidr- the serviceCidr value to set.- Returns:
- the NetworkProfile object itself.
-
serviceRuntimeNetworkResourceGroup
Get the serviceRuntimeNetworkResourceGroup property: Name of the resource group containing network resources of Azure Spring Apps Service Runtime.- Returns:
- the serviceRuntimeNetworkResourceGroup value.
-
withServiceRuntimeNetworkResourceGroup
public NetworkProfile withServiceRuntimeNetworkResourceGroup(String serviceRuntimeNetworkResourceGroup) Set the serviceRuntimeNetworkResourceGroup property: Name of the resource group containing network resources of Azure Spring Apps Service Runtime.- Parameters:
serviceRuntimeNetworkResourceGroup- the serviceRuntimeNetworkResourceGroup value to set.- Returns:
- the NetworkProfile object itself.
-
appNetworkResourceGroup
Get the appNetworkResourceGroup property: Name of the resource group containing network resources for customer apps in Azure Spring Apps.- Returns:
- the appNetworkResourceGroup value.
-
withAppNetworkResourceGroup
Set the appNetworkResourceGroup property: Name of the resource group containing network resources for customer apps in Azure Spring Apps.- Parameters:
appNetworkResourceGroup- the appNetworkResourceGroup value to set.- Returns:
- the NetworkProfile object itself.
-
outboundIPs
Get the outboundIPs property: Desired outbound IP resources for Azure Spring Apps resource.- Returns:
- the outboundIPs value.
-
requiredTraffics
Get the requiredTraffics property: Required inbound or outbound traffics for Azure Spring Apps resource.- Returns:
- the requiredTraffics value.
-
ingressConfig
Get the ingressConfig property: Ingress configuration payload for Azure Spring Apps resource.- Returns:
- the ingressConfig value.
-
withIngressConfig
Set the ingressConfig property: Ingress configuration payload for Azure Spring Apps resource.- Parameters:
ingressConfig- the ingressConfig value to set.- Returns:
- the NetworkProfile object itself.
-
outboundType
Get the outboundType property: The egress traffic type of Azure Spring Apps VNet instances.- Returns:
- the outboundType value.
-
withOutboundType
Set the outboundType property: The egress traffic type of Azure Spring Apps VNet instances.- Parameters:
outboundType- the outboundType value to set.- Returns:
- the NetworkProfile 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<NetworkProfile>- Throws:
IOException
-
fromJson
Reads an instance of NetworkProfile from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of NetworkProfile 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 NetworkProfile.
-