ArmComputeModelFactory.MaintenanceRedeployStatus 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.
Initializes a new instance of MaintenanceRedeployStatus.
public static Azure.ResourceManager.Compute.Models.MaintenanceRedeployStatus MaintenanceRedeployStatus (bool? isCustomerInitiatedMaintenanceAllowed = default, DateTimeOffset? preMaintenanceWindowStartOn = default, DateTimeOffset? preMaintenanceWindowEndOn = default, DateTimeOffset? maintenanceWindowStartOn = default, DateTimeOffset? maintenanceWindowEndOn = default, Azure.ResourceManager.Compute.Models.MaintenanceOperationResultCodeType? lastOperationResultCode = default, string lastOperationMessage = default);
static member MaintenanceRedeployStatus : Nullable<bool> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.Compute.Models.MaintenanceOperationResultCodeType> * string -> Azure.ResourceManager.Compute.Models.MaintenanceRedeployStatus
Public Shared Function MaintenanceRedeployStatus (Optional isCustomerInitiatedMaintenanceAllowed As Nullable(Of Boolean) = Nothing, Optional preMaintenanceWindowStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional preMaintenanceWindowEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional maintenanceWindowStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional maintenanceWindowEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastOperationResultCode As Nullable(Of MaintenanceOperationResultCodeType) = Nothing, Optional lastOperationMessage As String = Nothing) As MaintenanceRedeployStatus
Parameters
True, if customer is allowed to perform Maintenance.
- preMaintenanceWindowStartOn
- Nullable<DateTimeOffset>
Start Time for the Pre Maintenance Window.
- preMaintenanceWindowEndOn
- Nullable<DateTimeOffset>
End Time for the Pre Maintenance Window.
- maintenanceWindowStartOn
- Nullable<DateTimeOffset>
Start Time for the Maintenance Window.
- maintenanceWindowEndOn
- Nullable<DateTimeOffset>
End Time for the Maintenance Window.
- lastOperationResultCode
- Nullable<MaintenanceOperationResultCodeType>
The Last Maintenance Operation Result Code.
- lastOperationMessage
- String
Message returned for the last Maintenance Operation.
Returns
A new MaintenanceRedeployStatus instance for mocking.
Applies to
Azure SDK for .NET