ArmAppContainersModelFactory.PatchDetails Method

Definition

The detailed info of patch operation performing when applying a patch.

public static Azure.ResourceManager.AppContainers.Models.PatchDetails PatchDetails(string targetContainerName = default, string targetImage = default, DateTimeOffset lastDetectionOn = default, Azure.ResourceManager.AppContainers.Models.DetectionStatus detectionStatus = default, string newImageName = default, Azure.ResourceManager.AppContainers.Models.PatchDetailsNewLayer newLayer = default, Azure.ResourceManager.AppContainers.Models.PatchDetailsOldLayer oldLayer = default, Azure.ResourceManager.AppContainers.Models.PatchType? patchType = default);
static member PatchDetails : string * string * DateTimeOffset * Azure.ResourceManager.AppContainers.Models.DetectionStatus * string * Azure.ResourceManager.AppContainers.Models.PatchDetailsNewLayer * Azure.ResourceManager.AppContainers.Models.PatchDetailsOldLayer * Nullable<Azure.ResourceManager.AppContainers.Models.PatchType> -> Azure.ResourceManager.AppContainers.Models.PatchDetails
Public Shared Function PatchDetails (Optional targetContainerName As String = Nothing, Optional targetImage As String = Nothing, Optional lastDetectionOn As DateTimeOffset = Nothing, Optional detectionStatus As DetectionStatus = Nothing, Optional newImageName As String = Nothing, Optional newLayer As PatchDetailsNewLayer = Nothing, Optional oldLayer As PatchDetailsOldLayer = Nothing, Optional patchType As Nullable(Of PatchType) = Nothing) As PatchDetails

Parameters

targetContainerName
String

The name of the target container for the patch.

targetImage
String

The name of the target image for the patch.

lastDetectionOn
DateTimeOffset

The UTC timestamp that describes the latest detection was done.

detectionStatus
DetectionStatus

The status of the patch detection.

newImageName
String

The name of the new image created by the patch.

newLayer
PatchDetailsNewLayer

New layer update details in the target image.

oldLayer
PatchDetailsOldLayer

The old layer details in the target image.

patchType
Nullable<PatchType>

The type for the patch.

Returns

A new PatchDetails instance for mocking.

Applies to