NGroupCGPropertyVolume Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. NGroupCGPropertyVolume
- com.
Implements
public final class NGroupCGPropertyVolume
implements JsonSerializable<NGroupCGPropertyVolume>
Contains information about the volumes that can be mounted by Containers in the Container Groups.
Constructor Summary
| Constructor | Description |
|---|---|
| NGroupCGPropertyVolume() |
Creates an instance of NGroup |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Azure |
azureFile()
Get the azure |
|
static
NGroup |
fromJson(JsonReader jsonReader)
Reads an instance of NGroup |
| String |
name()
Get the name property: The name of the volume. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
NGroup |
withAzureFile(AzureFileVolume azureFile)
Set the azure |
|
NGroup |
withName(String name)
Set the name property: The name of the volume. |
Methods inherited from java.lang.Object
Constructor Details
NGroupCGPropertyVolume
public NGroupCGPropertyVolume()
Creates an instance of NGroupCGPropertyVolume class.
Method Details
azureFile
public AzureFileVolume azureFile()
Get the azureFile property: The Azure File volume.
Returns:
fromJson
public static NGroupCGPropertyVolume fromJson(JsonReader jsonReader)
Reads an instance of NGroupCGPropertyVolume from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The name of the volume.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAzureFile
public NGroupCGPropertyVolume withAzureFile(AzureFileVolume azureFile)
Set the azureFile property: The Azure File volume.
Parameters:
Returns:
withName
public NGroupCGPropertyVolume withName(String name)
Set the name property: The name of the volume.
Parameters:
Returns: