ArmContainerServiceModelFactory.ContainerServiceMaintenanceConfigurationData 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 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
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
Azure SDK for .NET