NetworkProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. NetworkProfile
- com.
Implements
public final class NetworkProfile
implements JsonSerializable<NetworkProfile>
A network profile for network settings of a ContainerGroupProfile. Used to manage load balancer and application gateway backend pools, specifically updating the IP addresses of CGs within the backend pool.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkProfile() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Application |
applicationGateway()
Get the application |
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
|
Load |
loadBalancer()
Get the load |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Network |
withApplicationGateway(ApplicationGateway applicationGateway)
Set the application |
|
Network |
withLoadBalancer(LoadBalancer loadBalancer)
Set the load |
Methods inherited from java.lang.Object
Constructor Details
NetworkProfile
public NetworkProfile()
Creates an instance of NetworkProfile class.
Method Details
applicationGateway
public ApplicationGateway applicationGateway()
Get the applicationGateway property: Application Gateway the CG profile will use to interact with CGs in a backend pool.
Returns:
fromJson
public static NetworkProfile fromJson(JsonReader jsonReader)
Reads an instance of NetworkProfile from the JsonReader.
Parameters:
Returns:
Throws:
loadBalancer
public LoadBalancer loadBalancer()
Get the loadBalancer property: LoadBalancer the CG profile will use to interact with CGs in a backend pool.
Returns:
toJson
validate
public void validate()
Validates the instance.
withApplicationGateway
public NetworkProfile withApplicationGateway(ApplicationGateway applicationGateway)
Set the applicationGateway property: Application Gateway the CG profile will use to interact with CGs in a backend pool.
Parameters:
Returns:
withLoadBalancer
public NetworkProfile withLoadBalancer(LoadBalancer loadBalancer)
Set the loadBalancer property: LoadBalancer the CG profile will use to interact with CGs in a backend pool.
Parameters:
Returns: