SandboxGroupNetworkProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. SandboxGroupNetworkProfile
- com.
Implements
public final class SandboxGroupNetworkProfile
implements JsonSerializable<SandboxGroupNetworkProfile>
The network profile for a SandboxGroup.
Constructor Summary
| Constructor | Description |
|---|---|
| SandboxGroupNetworkProfile() |
Creates an instance of Sandbox |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Sandbox |
fromJson(JsonReader jsonReader)
Reads an instance of Sandbox |
|
List<Subnet |
subnets()
Get the subnets property: The list of subnets associated with the Sandbox |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Sandbox |
withSubnets(List<SubnetReference> subnets)
Set the subnets property: The list of subnets associated with the Sandbox |
Methods inherited from java.lang.Object
Constructor Details
SandboxGroupNetworkProfile
public SandboxGroupNetworkProfile()
Creates an instance of SandboxGroupNetworkProfile class.
Method Details
fromJson
public static SandboxGroupNetworkProfile fromJson(JsonReader jsonReader)
Reads an instance of SandboxGroupNetworkProfile from the JsonReader.
Parameters:
Returns:
Throws:
subnets
public List<SubnetReference> subnets()
Get the subnets property: The list of subnets associated with the SandboxGroup.
Returns:
toJson
validate
public void validate()
Validates the instance.
withSubnets
public SandboxGroupNetworkProfile withSubnets(List<SubnetReference> subnets)
Set the subnets property: The list of subnets associated with the SandboxGroup.
Parameters:
Returns: