ArmPostgreSqlFlexibleServersModelFactory.MaintenanceEventProperties 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.
public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.MaintenanceEventProperties MaintenanceEventProperties(string maintenanceEventId = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerMaintenanceType maintenanceType = default, string description = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.MaintenanceEventStatus status = default, DateTimeOffset startOn = default, DateTimeOffset endOn = default, string estimatedDowntime = default, bool isDeferrable = false, DateTimeOffset? deferralDeadlineOn = default, DateTimeOffset? rescheduledFromOn = default, DateTimeOffset? lastUpdatedOn = default, DateTimeOffset originalStartOn = default);
static member MaintenanceEventProperties : string * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerMaintenanceType * string * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.MaintenanceEventStatus * DateTimeOffset * DateTimeOffset * string * bool * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * DateTimeOffset -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.MaintenanceEventProperties
Public Shared Function MaintenanceEventProperties (Optional maintenanceEventId As String = Nothing, Optional maintenanceType As PostgreSqlFlexibleServerMaintenanceType = Nothing, Optional description As String = Nothing, Optional status As MaintenanceEventStatus = Nothing, Optional startOn As DateTimeOffset = Nothing, Optional endOn As DateTimeOffset = Nothing, Optional estimatedDowntime As String = Nothing, Optional isDeferrable As Boolean = false, Optional deferralDeadlineOn As Nullable(Of DateTimeOffset) = Nothing, Optional rescheduledFromOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastUpdatedOn As Nullable(Of DateTimeOffset) = Nothing, Optional originalStartOn As DateTimeOffset = Nothing) As MaintenanceEventProperties
Parameters
- maintenanceEventId
- String
A service-generated identifier for this maintenance event, assigned by the platform (e.g., 'YL1T-HFG'). The format is not contractual and clients should not attempt to parse or construct this value.
- maintenanceType
- PostgreSqlFlexibleServerMaintenanceType
The maintenance type (e.g., 'PlannedMaintenance').
- description
- String
The human-readable description of the maintenance event.
- status
- MaintenanceEventStatus
The customer-facing status of the maintenance event.
- startOn
- DateTimeOffset
The scheduled start time of the maintenance event (UTC).
- endOn
- DateTimeOffset
The scheduled end time of the maintenance event (UTC).
- estimatedDowntime
- String
The estimated downtime as an ISO 8601 duration string (e.g., 'PT60S' = 60 seconds).
- isDeferrable
- Boolean
A value indicating whether this maintenance event can be rescheduled by the customer.
- deferralDeadlineOn
- Nullable<DateTimeOffset>
The latest date/time this maintenance event can be postponed to (UTC). Present only when deferrable is true.
- rescheduledFromOn
- Nullable<DateTimeOffset>
The previous scheduled start time before the most recent reschedule (UTC). Null if the event has never been rescheduled.
- lastUpdatedOn
- Nullable<DateTimeOffset>
The time this maintenance event record was last updated (UTC).
- originalStartOn
- DateTimeOffset
The initial scheduled start time before any reschedule (UTC). Equals startTime when the event has never been rescheduled.
Returns
A new MaintenanceEventProperties instance for mocking.