ArmMySqlFlexibleServersModelFactory.MySqlFlexibleServerMaintenanceData Method

Definition

Initializes a new instance of MySqlFlexibleServerMaintenanceData.

public static Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServerMaintenanceData MySqlFlexibleServerMaintenanceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerMaintenanceType? maintenanceType = default, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerMaintenanceState? maintenanceState = default, DateTimeOffset? maintenanceStartOn = default, DateTimeOffset? maintenanceEndOn = default, DateTimeOffset? maintenanceExecutionStartOn = default, DateTimeOffset? maintenanceExecutionEndOn = default, DateTimeOffset? maintenanceAvailableScheduleMinOn = default, DateTimeOffset? maintenanceAvailableScheduleMaxOn = default, string maintenanceTitle = default, string maintenanceDescription = default, Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerMaintenanceProvisioningState? provisioningState = default);
static member MySqlFlexibleServerMaintenanceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerMaintenanceType> * Nullable<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerMaintenanceState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * string * Nullable<Azure.ResourceManager.MySql.FlexibleServers.Models.MySqlFlexibleServerMaintenanceProvisioningState> -> Azure.ResourceManager.MySql.FlexibleServers.MySqlFlexibleServerMaintenanceData
Public Shared Function MySqlFlexibleServerMaintenanceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional maintenanceType As Nullable(Of MySqlFlexibleServerMaintenanceType) = Nothing, Optional maintenanceState As Nullable(Of MySqlFlexibleServerMaintenanceState) = Nothing, Optional maintenanceStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional maintenanceEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional maintenanceExecutionStartOn As Nullable(Of DateTimeOffset) = Nothing, Optional maintenanceExecutionEndOn As Nullable(Of DateTimeOffset) = Nothing, Optional maintenanceAvailableScheduleMinOn As Nullable(Of DateTimeOffset) = Nothing, Optional maintenanceAvailableScheduleMaxOn As Nullable(Of DateTimeOffset) = Nothing, Optional maintenanceTitle As String = Nothing, Optional maintenanceDescription As String = Nothing, Optional provisioningState As Nullable(Of MySqlFlexibleServerMaintenanceProvisioningState) = Nothing) As MySqlFlexibleServerMaintenanceData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

maintenanceType
Nullable<MySqlFlexibleServerMaintenanceType>

A string defines maintenance type.

maintenanceState
Nullable<MySqlFlexibleServerMaintenanceState>

A string describes the maintenance status.

maintenanceStartOn
Nullable<DateTimeOffset>

The start time for a maintenance.

maintenanceEndOn
Nullable<DateTimeOffset>

The end time for a maintenance.

maintenanceExecutionStartOn
Nullable<DateTimeOffset>

The start time for a maintenance execution.

maintenanceExecutionEndOn
Nullable<DateTimeOffset>

The end time for a maintenance execution.

maintenanceAvailableScheduleMinOn
Nullable<DateTimeOffset>

The min time the maintenance can be rescheduled.

maintenanceAvailableScheduleMaxOn
Nullable<DateTimeOffset>

The max time the maintenance can be rescheduled.

maintenanceTitle
String

The maintenance title.

maintenanceDescription
String

The maintenance description.

provisioningState
Nullable<MySqlFlexibleServerMaintenanceProvisioningState>

Provisioning state of the Maintenance.

Returns

A new MySqlFlexibleServerMaintenanceData instance for mocking.

Applies to