NGroupContainerGroupProperties Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. NGroupContainerGroupProperties
- com.
Implements
public final class NGroupContainerGroupProperties
implements JsonSerializable<NGroupContainerGroupProperties>
Container Group properties which can be set while creating or updating the NGroups.
Constructor Summary
| Constructor | Description |
|---|---|
| NGroupContainerGroupProperties() |
Creates an instance of NGroup |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<NGroup |
containers()
Get the containers property: Contains information about Container which can be set while creating or updating the NGroups. |
|
static
NGroup |
fromJson(JsonReader jsonReader)
Reads an instance of NGroup |
|
List<Container |
subnetIds()
Get the subnet |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
List<NGroup |
volumes()
Get the volumes property: Contains information about the volumes that can be mounted by Containers in the Container Groups. |
|
NGroup |
withContainers(List<NGroupCGPropertyContainer> containers)
Set the containers property: Contains information about Container which can be set while creating or updating the NGroups. |
|
NGroup |
withSubnetIds(List<ContainerGroupSubnetId> subnetIds)
Set the subnet |
|
NGroup |
withVolumes(List<NGroupCGPropertyVolume> volumes)
Set the volumes property: Contains information about the volumes that can be mounted by Containers in the Container Groups. |
Methods inherited from java.lang.Object
Constructor Details
NGroupContainerGroupProperties
public NGroupContainerGroupProperties()
Creates an instance of NGroupContainerGroupProperties class.
Method Details
containers
public List<NGroupCGPropertyContainer> containers()
Get the containers property: Contains information about Container which can be set while creating or updating the NGroups.
Returns:
fromJson
public static NGroupContainerGroupProperties fromJson(JsonReader jsonReader)
Reads an instance of NGroupContainerGroupProperties from the JsonReader.
Parameters:
Returns:
Throws:
subnetIds
public List<ContainerGroupSubnetId> subnetIds()
Get the subnetIds property: Contains information about Virtual Network Subnet ARM Resource.
Returns:
toJson
validate
public void validate()
Validates the instance.
volumes
public List<NGroupCGPropertyVolume> volumes()
Get the volumes property: Contains information about the volumes that can be mounted by Containers in the Container Groups.
Returns:
withContainers
public NGroupContainerGroupProperties withContainers(List<NGroupCGPropertyContainer> containers)
Set the containers property: Contains information about Container which can be set while creating or updating the NGroups.
Parameters:
Returns:
withSubnetIds
public NGroupContainerGroupProperties withSubnetIds(List<ContainerGroupSubnetId> subnetIds)
Set the subnetIds property: Contains information about Virtual Network Subnet ARM Resource.
Parameters:
Returns:
withVolumes
public NGroupContainerGroupProperties withVolumes(List<NGroupCGPropertyVolume> volumes)
Set the volumes property: Contains information about the volumes that can be mounted by Containers in the Container Groups.
Parameters:
Returns: