ArmAppContainersModelFactory.PatchProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Top level properties that describes current states of the patch resource.
public static Azure.ResourceManager.AppContainers.Models.PatchProperties PatchProperties(Azure.Core.ResourceIdentifier targetEnvironmentId = default, Azure.Core.ResourceIdentifier targetContainerAppId = default, Azure.Core.ResourceIdentifier targetRevisionId = default, Azure.ResourceManager.AppContainers.Models.PatchApplyStatus? patchApplyStatus = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.AppContainers.Models.PatchDetails> patchDetails = default);
static member PatchProperties : Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.AppContainers.Models.PatchApplyStatus> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * seq<Azure.ResourceManager.AppContainers.Models.PatchDetails> -> Azure.ResourceManager.AppContainers.Models.PatchProperties
Public Shared Function PatchProperties (Optional targetEnvironmentId As ResourceIdentifier = Nothing, Optional targetContainerAppId As ResourceIdentifier = Nothing, Optional targetRevisionId As ResourceIdentifier = Nothing, Optional patchApplyStatus As Nullable(Of PatchApplyStatus) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional patchDetails As IEnumerable(Of PatchDetails) = Nothing) As PatchProperties
Parameters
- targetEnvironmentId
- ResourceIdentifier
The Azure resource id of the target environment for the patch.
- targetContainerAppId
- ResourceIdentifier
The Azure resource id of the target container app for the patch.
- targetRevisionId
- ResourceIdentifier
The Azure resource id of the target revision for the patch.
- patchApplyStatus
- Nullable<PatchApplyStatus>
The status of the patch operation.
- createdOn
- Nullable<DateTimeOffset>
The UTC timestamp that describes when the patch object was created.
- lastModifiedOn
- Nullable<DateTimeOffset>
The UTC timestamp that describes when the patch object was last updated.
- patchDetails
- IEnumerable<PatchDetails>
Detailed info describes the patch operation for the target container app.
Returns
A new PatchProperties instance for mocking.