ContainerGroupProfileReferenceDefinition Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. ContainerGroupProfileReferenceDefinition
- com.
Implements
public final class ContainerGroupProfileReferenceDefinition
implements JsonSerializable<ContainerGroupProfileReferenceDefinition>
The container group profile reference.
Constructor Summary
| Constructor | Description |
|---|---|
| ContainerGroupProfileReferenceDefinition() |
Creates an instance of Container |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Container |
fromJson(JsonReader jsonReader)
Reads an instance of Container |
| String |
id()
Get the id property: The container group profile reference id. |
| Integer |
revision()
Get the revision property: The container group profile reference revision. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Container |
withId(String id)
Set the id property: The container group profile reference id. |
|
Container |
withRevision(Integer revision)
Set the revision property: The container group profile reference revision. |
Methods inherited from java.lang.Object
Constructor Details
ContainerGroupProfileReferenceDefinition
public ContainerGroupProfileReferenceDefinition()
Creates an instance of ContainerGroupProfileReferenceDefinition class.
Method Details
fromJson
public static ContainerGroupProfileReferenceDefinition fromJson(JsonReader jsonReader)
Reads an instance of ContainerGroupProfileReferenceDefinition from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The container group profile reference id.This will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}'.
Returns:
revision
public Integer revision()
Get the revision property: The container group profile reference revision.
Returns:
toJson
validate
public void validate()
Validates the instance.
withId
public ContainerGroupProfileReferenceDefinition withId(String id)
Set the id property: The container group profile reference id.This will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerInstance/containerGroupProfiles/{containerGroupProfileName}'.
Parameters:
Returns:
withRevision
public ContainerGroupProfileReferenceDefinition withRevision(Integer revision)
Set the revision property: The container group profile reference revision.
Parameters:
Returns: