ArmComputeModelFactory.ScheduleProfile(String, String) Method

Definition

public static Azure.ResourceManager.Compute.Models.ScheduleProfile ScheduleProfile(string start = default, string end = default);
static member ScheduleProfile : string * string -> Azure.ResourceManager.Compute.Models.ScheduleProfile
Public Shared Function ScheduleProfile (Optional start As String = Nothing, Optional end As String = Nothing) As ScheduleProfile

Parameters

start
String

The required start date for block capacity reservations. Must be today or within 56 days in the future. For same-day scheduling, requests must be submitted before 11:30 AM UTC. Example: 2025-06-27.

end
String

The required end date for block capacity reservations. Must be after the start date, with a duration of either 1–14 whole days or 3–26 whole weeks. Example: 2025-06-28.

Returns

A new ScheduleProfile instance for mocking.

Applies to