Partilhar via


ArmContainerServiceModelFactory.ContainerServiceMaintenanceConfigurationData Método

Definição

Inicializa uma nova instância de 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

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

timesInWeek
IEnumerable<ContainerServiceTimeInWeek>

Se duas entradas de matriz especificarem o mesmo dia da semana, a configuração aplicada será a união de horas em ambas as entradas.

notAllowedTimes
IEnumerable<ContainerServiceTimeSpan>

Intervalos de tempo nos quais a atualização não é permitida.

maintenanceWindow
ContainerServiceMaintenanceWindow

Janela de manutenção para a configuração de manutenção.

Retornos

Uma nova ContainerServiceMaintenanceConfigurationData instância para zombar.

Aplica-se a