Condividi tramite


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

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

name
String

The name of the resource.

resourceType
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

systemData
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

timesInWeek
IEnumerable<ContainerServiceTimeInWeek>

Time slots during the week when planned maintenance is allowed to proceed. 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