ContainerGroupProfileStub Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. ContainerGroupProfileStub
- com.
Implements
public final class ContainerGroupProfileStub
implements JsonSerializable<ContainerGroupProfileStub>
The object that contains a reference to a Container Group Profile and it's other related properties.
Constructor Summary
| Constructor | Description |
|---|---|
| ContainerGroupProfileStub() |
Creates an instance of Container |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
NGroup |
containerGroupProperties()
Get the container |
|
static
Container |
fromJson(JsonReader jsonReader)
Reads an instance of Container |
|
Network |
networkProfile()
Get the network |
|
Api |
resource()
Get the resource property: A reference to the container group profile ARM resource hosted in ACI RP. |
| Integer |
revision()
Get the revision property: The revision of the CG profile is an optional property. |
|
Storage |
storageProfile()
Get the storage |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Container |
withContainerGroupProperties(NGroupContainerGroupProperties containerGroupProperties)
Set the container |
|
Container |
withNetworkProfile(NetworkProfile networkProfile)
Set the network |
|
Container |
withResource(ApiEntityReference resource)
Set the resource property: A reference to the container group profile ARM resource hosted in ACI RP. |
|
Container |
withRevision(Integer revision)
Set the revision property: The revision of the CG profile is an optional property. |
|
Container |
withStorageProfile(StorageProfile storageProfile)
Set the storage |
Methods inherited from java.lang.Object
Constructor Details
ContainerGroupProfileStub
public ContainerGroupProfileStub()
Creates an instance of ContainerGroupProfileStub class.
Method Details
containerGroupProperties
public NGroupContainerGroupProperties containerGroupProperties()
Get the containerGroupProperties property: Container Group properties which can be set while creating or updating the NGroups.
Returns:
fromJson
public static ContainerGroupProfileStub fromJson(JsonReader jsonReader)
Reads an instance of ContainerGroupProfileStub from the JsonReader.
Parameters:
Returns:
Throws:
networkProfile
public NetworkProfile networkProfile()
Get the networkProfile property: A network profile for network settings of a ContainerGroupProfile.
Returns:
resource
public ApiEntityReference resource()
Get the resource property: A reference to the container group profile ARM resource hosted in ACI RP.
Returns:
revision
public Integer revision()
Get the revision property: The revision of the CG profile is an optional property. If customer does not to provide a revision then NGroups will pickup the latest revision of CGProfile.
Returns:
storageProfile
public StorageProfile storageProfile()
Get the storageProfile property: Storage profile for storage related settings of a container group profile.
Returns:
toJson
validate
public void validate()
Validates the instance.
withContainerGroupProperties
public ContainerGroupProfileStub withContainerGroupProperties(NGroupContainerGroupProperties containerGroupProperties)
Set the containerGroupProperties property: Container Group properties which can be set while creating or updating the NGroups.
Parameters:
Returns:
withNetworkProfile
public ContainerGroupProfileStub withNetworkProfile(NetworkProfile networkProfile)
Set the networkProfile property: A network profile for network settings of a ContainerGroupProfile.
Parameters:
Returns:
withResource
public ContainerGroupProfileStub withResource(ApiEntityReference resource)
Set the resource property: A reference to the container group profile ARM resource hosted in ACI RP.
Parameters:
Returns:
withRevision
public ContainerGroupProfileStub withRevision(Integer revision)
Set the revision property: The revision of the CG profile is an optional property. If customer does not to provide a revision then NGroups will pickup the latest revision of CGProfile.
Parameters:
Returns:
withStorageProfile
public ContainerGroupProfileStub withStorageProfile(StorageProfile storageProfile)
Set the storageProfile property: Storage profile for storage related settings of a container group profile.
Parameters:
Returns: