NetworkProfile Class
- java.
lang. Object - com.
azure. resourcemanager. devopsinfrastructure. models. NetworkProfile
- com.
Implements
public final class NetworkProfile
implements JsonSerializable<NetworkProfile>
The network profile of the machines in the pool.
Constructor Summary
| Constructor | Description |
|---|---|
| NetworkProfile() |
Creates an instance of Network |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Network |
fromJson(JsonReader jsonReader)
Reads an instance of Network |
| String |
subnetId()
Get the subnet |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Network |
withSubnetId(String subnetId)
Set the subnet |
Methods inherited from java.lang.Object
Constructor Details
NetworkProfile
public NetworkProfile()
Creates an instance of NetworkProfile class.
Method Details
fromJson
public static NetworkProfile fromJson(JsonReader jsonReader)
Reads an instance of NetworkProfile from the JsonReader.
Parameters:
Returns:
Throws:
subnetId
public String subnetId()
Get the subnetId property: The subnet id on which to put all machines created in the pool.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSubnetId
public NetworkProfile withSubnetId(String subnetId)
Set the subnetId property: The subnet id on which to put all machines created in the pool.
Parameters:
Returns: