PatchProperties Class
- java.
lang. Object - com.
azure. resourcemanager. appcontainers. models. PatchProperties
- com.
Implements
public final class PatchProperties
implements JsonSerializable<PatchProperties>
Top level properties that describes current states of the patch resource.
Constructor Summary
| Constructor | Description |
|---|---|
| PatchProperties() |
Creates an instance of Patch |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
createdAt()
Get the created |
|
static
Patch |
fromJson(JsonReader jsonReader)
Reads an instance of Patch |
|
Offset |
lastModifiedAt()
Get the last |
|
Patch |
patchApplyStatus()
Get the patch |
|
List<Patch |
patchDetails()
Get the patch |
| String |
targetContainerAppId()
Get the target |
| String |
targetEnvironmentId()
Get the target |
| String |
targetRevisionId()
Get the target |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Patch |
withTargetContainerAppId(String targetContainerAppId)
Set the target |
|
Patch |
withTargetEnvironmentId(String targetEnvironmentId)
Set the target |
|
Patch |
withTargetRevisionId(String targetRevisionId)
Set the target |
Methods inherited from java.lang.Object
Constructor Details
PatchProperties
public PatchProperties()
Creates an instance of PatchProperties class.
Method Details
createdAt
public OffsetDateTime createdAt()
Get the createdAt property: The UTC timestamp that describes when the patch object was created.
Returns:
fromJson
public static PatchProperties fromJson(JsonReader jsonReader)
Reads an instance of PatchProperties from the JsonReader.
Parameters:
Returns:
Throws:
lastModifiedAt
public OffsetDateTime lastModifiedAt()
Get the lastModifiedAt property: The UTC timestamp that describes when the patch object was last updated.
Returns:
patchApplyStatus
public PatchApplyStatus patchApplyStatus()
Get the patchApplyStatus property: The status of the patch operation.
Returns:
patchDetails
public List<PatchDetails> patchDetails()
Get the patchDetails property: Detailed info describes the patch operation for the target container app.
Returns:
targetContainerAppId
public String targetContainerAppId()
Get the targetContainerAppId property: The Azure resource id of the target container app for the patch.
Returns:
targetEnvironmentId
public String targetEnvironmentId()
Get the targetEnvironmentId property: The Azure resource id of the target environment for the patch.
Returns:
targetRevisionId
public String targetRevisionId()
Get the targetRevisionId property: The Azure resource id of the target revision for the patch.
Returns:
toJson
validate
public void validate()
Validates the instance.
withTargetContainerAppId
public PatchProperties withTargetContainerAppId(String targetContainerAppId)
Set the targetContainerAppId property: The Azure resource id of the target container app for the patch.
Parameters:
Returns:
withTargetEnvironmentId
public PatchProperties withTargetEnvironmentId(String targetEnvironmentId)
Set the targetEnvironmentId property: The Azure resource id of the target environment for the patch.
Parameters:
Returns:
withTargetRevisionId
public PatchProperties withTargetRevisionId(String targetRevisionId)
Set the targetRevisionId property: The Azure resource id of the target revision for the patch.
Parameters:
Returns: