Class NetworkProfile
java.lang.Object
com.azure.resourcemanager.appplatform.models.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.Get the outboundIPs property: Desired outbound IP resources for Azure Spring Apps resource.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.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.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.
-
Constructor Details
-
NetworkProfile
public NetworkProfile()
-
-
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.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-