NetworkProfile Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. NetworkProfile
- com.
Implements
public final class NetworkProfile
implements JsonSerializable<NetworkProfile>
Service network profile payload.
Constructor Summary
Constructor | Description |
---|---|
NetworkProfile() |
Creates an instance of Network |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
appNetworkResourceGroup()
Get the app |
String |
appSubnetId()
Get the app |
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
Ingress |
ingressConfig()
Get the ingress |
Network |
outboundIPs()
Get the outbound |
String |
outboundType()
Get the outbound |
List<Required |
requiredTraffics()
Get the required |
String |
serviceCidr()
Get the service |
String |
serviceRuntimeNetworkResourceGroup()
Get the service |
String |
serviceRuntimeSubnetId()
Get the service |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Network |
withAppNetworkResourceGroup(String appNetworkResourceGroup)
Set the app |
Network |
withAppSubnetId(String appSubnetId)
Set the app |
Network |
withIngressConfig(IngressConfig ingressConfig)
Set the ingress |
Network |
withOutboundType(String outboundType)
Set the outbound |
Network |
withServiceCidr(String serviceCidr)
Set the service |
Network |
withServiceRuntimeNetworkResourceGroup(String serviceRuntimeNetworkResourceGroup)
Set the service |
Network |
withServiceRuntimeSubnetId(String serviceRuntimeSubnetId)
Set the service |
Methods inherited from java.lang.Object
Constructor Details
NetworkProfile
public NetworkProfile()
Creates an instance of NetworkProfile class.
Method Details
appNetworkResourceGroup
public String appNetworkResourceGroup()
Get the appNetworkResourceGroup property: Name of the resource group containing network resources for customer apps in Azure Spring Apps.
Returns:
appSubnetId
public String appSubnetId()
Get the appSubnetId property: Fully qualified resource Id of the subnet to host customer apps in Azure Spring Apps.
Returns:
fromJson
public static NetworkProfile fromJson(JsonReader jsonReader)
Reads an instance of NetworkProfile from the JsonReader.
Parameters:
Returns:
Throws:
ingressConfig
public IngressConfig ingressConfig()
Get the ingressConfig property: Ingress configuration payload for Azure Spring Apps resource.
Returns:
outboundIPs
public NetworkProfileOutboundIPs outboundIPs()
Get the outboundIPs property: Desired outbound IP resources for Azure Spring Apps resource.
Returns:
outboundType
public String outboundType()
Get the outboundType property: The egress traffic type of Azure Spring Apps VNet instances.
Returns:
requiredTraffics
public List
Get the requiredTraffics property: Required inbound or outbound traffics for Azure Spring Apps resource.
Returns:
serviceCidr
public String serviceCidr()
Get the serviceCidr property: Azure Spring Apps service reserved CIDR.
Returns:
serviceRuntimeNetworkResourceGroup
public String serviceRuntimeNetworkResourceGroup()
Get the serviceRuntimeNetworkResourceGroup property: Name of the resource group containing network resources of Azure Spring Apps Service Runtime.
Returns:
serviceRuntimeSubnetId
public String serviceRuntimeSubnetId()
Get the serviceRuntimeSubnetId property: Fully qualified resource Id of the subnet to host Azure Spring Apps Service Runtime.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAppNetworkResourceGroup
public NetworkProfile withAppNetworkResourceGroup(String appNetworkResourceGroup)
Set the appNetworkResourceGroup property: Name of the resource group containing network resources for customer apps in Azure Spring Apps.
Parameters:
Returns:
withAppSubnetId
public NetworkProfile withAppSubnetId(String appSubnetId)
Set the appSubnetId property: Fully qualified resource Id of the subnet to host customer apps in Azure Spring Apps.
Parameters:
Returns:
withIngressConfig
public NetworkProfile withIngressConfig(IngressConfig ingressConfig)
Set the ingressConfig property: Ingress configuration payload for Azure Spring Apps resource.
Parameters:
Returns:
withOutboundType
public NetworkProfile withOutboundType(String outboundType)
Set the outboundType property: The egress traffic type of Azure Spring Apps VNet instances.
Parameters:
Returns:
withServiceCidr
public NetworkProfile withServiceCidr(String serviceCidr)
Set the serviceCidr property: Azure Spring Apps service reserved CIDR.
Parameters:
Returns:
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:
Returns:
withServiceRuntimeSubnetId
public NetworkProfile withServiceRuntimeSubnetId(String serviceRuntimeSubnetId)
Set the serviceRuntimeSubnetId property: Fully qualified resource Id of the subnet to host Azure Spring Apps Service Runtime.
Parameters:
Returns:
Applies to
Azure SDK for Java