ArmPostgreSqlFlexibleServersModelFactory.MaintenanceEventActionResult Method

Definition

public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.MaintenanceEventActionResult MaintenanceEventActionResult(string maintenanceEventId = default, Azure.Core.ResourceIdentifier serverId = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.MaintenanceEventStatus? status = default, DateTimeOffset? plannedStartOn = default, DateTimeOffset? plannedEndOn = default, bool? isAppliedNow = default, DateTimeOffset? lastUpdatedOn = default);
static member MaintenanceEventActionResult : string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.MaintenanceEventStatus> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<bool> * Nullable<DateTimeOffset> -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.MaintenanceEventActionResult
Public Shared Function MaintenanceEventActionResult (Optional maintenanceEventId As String = Nothing, Optional serverId As ResourceIdentifier = Nothing, Optional status As Nullable(Of MaintenanceEventStatus) = Nothing, Optional plannedStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional plannedEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional isAppliedNow As Nullable(Of Boolean) = Nothing, Optional lastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing) As MaintenanceEventActionResult

Parameters

maintenanceEventId
String

The maintenance event name (maintenance ID).

serverId
ResourceIdentifier

The full Azure resource ID of the server.

status
Nullable<MaintenanceEventStatus>

The status of the maintenance event.

plannedStartOn
Nullable<DateTimeOffset>

The planned start time of the maintenance event (UTC).

plannedEndOn
Nullable<DateTimeOffset>

The planned end time of the maintenance event (UTC).

isAppliedNow
Nullable<Boolean>

A value indicating whether this was an apply-now (immediate) action. True for ApplyNow; false for Reschedule.

lastUpdatedOn
Nullable<DateTimeOffset>

The time this maintenance event record was last updated (UTC).

Returns

A new MaintenanceEventActionResult instance for mocking.

Applies to