Sdílet prostřednictvím


ArmComputeModelFactory.MaintenanceRedeployStatus Method

Definition

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

isCustomerInitiatedMaintenanceAllowed
Nullable<Boolean>

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