ArmContainerServiceModelFactory.ContainerServiceMaintenanceConfigurationData Method

Definition

Initializes a new instance of ContainerServiceMaintenanceConfigurationData.

public static Azure.ResourceManager.ContainerService.ContainerServiceMaintenanceConfigurationData ContainerServiceMaintenanceConfigurationData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.ContainerServiceTimeInWeek> timesInWeek = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerService.Models.ContainerServiceTimeSpan> notAllowedTimes = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceMaintenanceWindow maintenanceWindow = default);
static member ContainerServiceMaintenanceConfigurationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * seq<Azure.ResourceManager.ContainerService.Models.ContainerServiceTimeInWeek> * seq<Azure.ResourceManager.ContainerService.Models.ContainerServiceTimeSpan> * Azure.ResourceManager.ContainerService.Models.ContainerServiceMaintenanceWindow -> Azure.ResourceManager.ContainerService.ContainerServiceMaintenanceConfigurationData
Public Shared Function ContainerServiceMaintenanceConfigurationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional timesInWeek As IEnumerable(Of ContainerServiceTimeInWeek) = Nothing, Optional notAllowedTimes As IEnumerable(Of ContainerServiceTimeSpan) = Nothing, Optional maintenanceWindow As ContainerServiceMaintenanceWindow = Nothing) As ContainerServiceMaintenanceConfigurationData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

timesInWeek
IEnumerable<ContainerServiceTimeInWeek>

If two array entries specify the same day of the week, the applied configuration is the union of times in both entries.

notAllowedTimes
IEnumerable<ContainerServiceTimeSpan>

Time slots on which upgrade is not allowed.

maintenanceWindow
ContainerServiceMaintenanceWindow

Maintenance window for the maintenance configuration.

Returns

A new ContainerServiceMaintenanceConfigurationData instance for mocking.

Applies to