1. Packages
  2. Azure Native
  3. API Docs
  4. sql
  5. StartStopManagedInstanceSchedule
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.sql.StartStopManagedInstanceSchedule

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    Managed instance’s Start/Stop schedule. Azure REST API version: 2022-11-01-preview.

    Other available API versions: 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-01-preview.

    Example Usage

    Creates or updates the managed instance's Start/Stop schedule with all optional parameters specified.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var startStopManagedInstanceSchedule = new AzureNative.Sql.StartStopManagedInstanceSchedule("startStopManagedInstanceSchedule", new()
        {
            Description = "This is a schedule for our Dev/Test environment.",
            ManagedInstanceName = "schedulemi",
            ResourceGroupName = "schedulerg",
            ScheduleList = new[]
            {
                new AzureNative.Sql.Inputs.ScheduleItemArgs
                {
                    StartDay = AzureNative.Sql.DayOfWeek.Thursday,
                    StartTime = "18:00",
                    StopDay = AzureNative.Sql.DayOfWeek.Thursday,
                    StopTime = "17:00",
                },
                new AzureNative.Sql.Inputs.ScheduleItemArgs
                {
                    StartDay = AzureNative.Sql.DayOfWeek.Thursday,
                    StartTime = "15:00",
                    StopDay = AzureNative.Sql.DayOfWeek.Thursday,
                    StopTime = "14:00",
                },
            },
            StartStopScheduleName = "default",
            TimeZoneId = "Central European Standard Time",
        });
    
    });
    
    package main
    
    import (
    	sql "github.com/pulumi/pulumi-azure-native-sdk/sql/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sql.NewStartStopManagedInstanceSchedule(ctx, "startStopManagedInstanceSchedule", &sql.StartStopManagedInstanceScheduleArgs{
    			Description:         pulumi.String("This is a schedule for our Dev/Test environment."),
    			ManagedInstanceName: pulumi.String("schedulemi"),
    			ResourceGroupName:   pulumi.String("schedulerg"),
    			ScheduleList: sql.ScheduleItemArray{
    				&sql.ScheduleItemArgs{
    					StartDay:  pulumi.String(sql.DayOfWeekThursday),
    					StartTime: pulumi.String("18:00"),
    					StopDay:   pulumi.String(sql.DayOfWeekThursday),
    					StopTime:  pulumi.String("17:00"),
    				},
    				&sql.ScheduleItemArgs{
    					StartDay:  pulumi.String(sql.DayOfWeekThursday),
    					StartTime: pulumi.String("15:00"),
    					StopDay:   pulumi.String(sql.DayOfWeekThursday),
    					StopTime:  pulumi.String("14:00"),
    				},
    			},
    			StartStopScheduleName: pulumi.String("default"),
    			TimeZoneId:            pulumi.String("Central European Standard Time"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.sql.StartStopManagedInstanceSchedule;
    import com.pulumi.azurenative.sql.StartStopManagedInstanceScheduleArgs;
    import com.pulumi.azurenative.sql.inputs.ScheduleItemArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var startStopManagedInstanceSchedule = new StartStopManagedInstanceSchedule("startStopManagedInstanceSchedule", StartStopManagedInstanceScheduleArgs.builder()
                .description("This is a schedule for our Dev/Test environment.")
                .managedInstanceName("schedulemi")
                .resourceGroupName("schedulerg")
                .scheduleList(            
                    ScheduleItemArgs.builder()
                        .startDay("Thursday")
                        .startTime("18:00")
                        .stopDay("Thursday")
                        .stopTime("17:00")
                        .build(),
                    ScheduleItemArgs.builder()
                        .startDay("Thursday")
                        .startTime("15:00")
                        .stopDay("Thursday")
                        .stopTime("14:00")
                        .build())
                .startStopScheduleName("default")
                .timeZoneId("Central European Standard Time")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    start_stop_managed_instance_schedule = azure_native.sql.StartStopManagedInstanceSchedule("startStopManagedInstanceSchedule",
        description="This is a schedule for our Dev/Test environment.",
        managed_instance_name="schedulemi",
        resource_group_name="schedulerg",
        schedule_list=[
            {
                "start_day": azure_native.sql.DayOfWeek.THURSDAY,
                "start_time": "18:00",
                "stop_day": azure_native.sql.DayOfWeek.THURSDAY,
                "stop_time": "17:00",
            },
            {
                "start_day": azure_native.sql.DayOfWeek.THURSDAY,
                "start_time": "15:00",
                "stop_day": azure_native.sql.DayOfWeek.THURSDAY,
                "stop_time": "14:00",
            },
        ],
        start_stop_schedule_name="default",
        time_zone_id="Central European Standard Time")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const startStopManagedInstanceSchedule = new azure_native.sql.StartStopManagedInstanceSchedule("startStopManagedInstanceSchedule", {
        description: "This is a schedule for our Dev/Test environment.",
        managedInstanceName: "schedulemi",
        resourceGroupName: "schedulerg",
        scheduleList: [
            {
                startDay: azure_native.sql.DayOfWeek.Thursday,
                startTime: "18:00",
                stopDay: azure_native.sql.DayOfWeek.Thursday,
                stopTime: "17:00",
            },
            {
                startDay: azure_native.sql.DayOfWeek.Thursday,
                startTime: "15:00",
                stopDay: azure_native.sql.DayOfWeek.Thursday,
                stopTime: "14:00",
            },
        ],
        startStopScheduleName: "default",
        timeZoneId: "Central European Standard Time",
    });
    
    resources:
      startStopManagedInstanceSchedule:
        type: azure-native:sql:StartStopManagedInstanceSchedule
        properties:
          description: This is a schedule for our Dev/Test environment.
          managedInstanceName: schedulemi
          resourceGroupName: schedulerg
          scheduleList:
            - startDay: Thursday
              startTime: 18:00
              stopDay: Thursday
              stopTime: 17:00
            - startDay: Thursday
              startTime: 15:00
              stopDay: Thursday
              stopTime: 14:00
          startStopScheduleName: default
          timeZoneId: Central European Standard Time
    

    Creates or updates the managed instance's Start/Stop schedule with no optional parameters specified.

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var startStopManagedInstanceSchedule = new AzureNative.Sql.StartStopManagedInstanceSchedule("startStopManagedInstanceSchedule", new()
        {
            ManagedInstanceName = "schedulemi",
            ResourceGroupName = "schedulerg",
            ScheduleList = new[]
            {
                new AzureNative.Sql.Inputs.ScheduleItemArgs
                {
                    StartDay = AzureNative.Sql.DayOfWeek.Thursday,
                    StartTime = "18:00",
                    StopDay = AzureNative.Sql.DayOfWeek.Thursday,
                    StopTime = "17:00",
                },
                new AzureNative.Sql.Inputs.ScheduleItemArgs
                {
                    StartDay = AzureNative.Sql.DayOfWeek.Thursday,
                    StartTime = "15:00",
                    StopDay = AzureNative.Sql.DayOfWeek.Thursday,
                    StopTime = "14:00",
                },
            },
            StartStopScheduleName = "default",
        });
    
    });
    
    package main
    
    import (
    	sql "github.com/pulumi/pulumi-azure-native-sdk/sql/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sql.NewStartStopManagedInstanceSchedule(ctx, "startStopManagedInstanceSchedule", &sql.StartStopManagedInstanceScheduleArgs{
    			ManagedInstanceName: pulumi.String("schedulemi"),
    			ResourceGroupName:   pulumi.String("schedulerg"),
    			ScheduleList: sql.ScheduleItemArray{
    				&sql.ScheduleItemArgs{
    					StartDay:  pulumi.String(sql.DayOfWeekThursday),
    					StartTime: pulumi.String("18:00"),
    					StopDay:   pulumi.String(sql.DayOfWeekThursday),
    					StopTime:  pulumi.String("17:00"),
    				},
    				&sql.ScheduleItemArgs{
    					StartDay:  pulumi.String(sql.DayOfWeekThursday),
    					StartTime: pulumi.String("15:00"),
    					StopDay:   pulumi.String(sql.DayOfWeekThursday),
    					StopTime:  pulumi.String("14:00"),
    				},
    			},
    			StartStopScheduleName: pulumi.String("default"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.sql.StartStopManagedInstanceSchedule;
    import com.pulumi.azurenative.sql.StartStopManagedInstanceScheduleArgs;
    import com.pulumi.azurenative.sql.inputs.ScheduleItemArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var startStopManagedInstanceSchedule = new StartStopManagedInstanceSchedule("startStopManagedInstanceSchedule", StartStopManagedInstanceScheduleArgs.builder()
                .managedInstanceName("schedulemi")
                .resourceGroupName("schedulerg")
                .scheduleList(            
                    ScheduleItemArgs.builder()
                        .startDay("Thursday")
                        .startTime("18:00")
                        .stopDay("Thursday")
                        .stopTime("17:00")
                        .build(),
                    ScheduleItemArgs.builder()
                        .startDay("Thursday")
                        .startTime("15:00")
                        .stopDay("Thursday")
                        .stopTime("14:00")
                        .build())
                .startStopScheduleName("default")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    start_stop_managed_instance_schedule = azure_native.sql.StartStopManagedInstanceSchedule("startStopManagedInstanceSchedule",
        managed_instance_name="schedulemi",
        resource_group_name="schedulerg",
        schedule_list=[
            {
                "start_day": azure_native.sql.DayOfWeek.THURSDAY,
                "start_time": "18:00",
                "stop_day": azure_native.sql.DayOfWeek.THURSDAY,
                "stop_time": "17:00",
            },
            {
                "start_day": azure_native.sql.DayOfWeek.THURSDAY,
                "start_time": "15:00",
                "stop_day": azure_native.sql.DayOfWeek.THURSDAY,
                "stop_time": "14:00",
            },
        ],
        start_stop_schedule_name="default")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const startStopManagedInstanceSchedule = new azure_native.sql.StartStopManagedInstanceSchedule("startStopManagedInstanceSchedule", {
        managedInstanceName: "schedulemi",
        resourceGroupName: "schedulerg",
        scheduleList: [
            {
                startDay: azure_native.sql.DayOfWeek.Thursday,
                startTime: "18:00",
                stopDay: azure_native.sql.DayOfWeek.Thursday,
                stopTime: "17:00",
            },
            {
                startDay: azure_native.sql.DayOfWeek.Thursday,
                startTime: "15:00",
                stopDay: azure_native.sql.DayOfWeek.Thursday,
                stopTime: "14:00",
            },
        ],
        startStopScheduleName: "default",
    });
    
    resources:
      startStopManagedInstanceSchedule:
        type: azure-native:sql:StartStopManagedInstanceSchedule
        properties:
          managedInstanceName: schedulemi
          resourceGroupName: schedulerg
          scheduleList:
            - startDay: Thursday
              startTime: 18:00
              stopDay: Thursday
              stopTime: 17:00
            - startDay: Thursday
              startTime: 15:00
              stopDay: Thursday
              stopTime: 14:00
          startStopScheduleName: default
    

    Create StartStopManagedInstanceSchedule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new StartStopManagedInstanceSchedule(name: string, args: StartStopManagedInstanceScheduleArgs, opts?: CustomResourceOptions);
    @overload
    def StartStopManagedInstanceSchedule(resource_name: str,
                                         args: StartStopManagedInstanceScheduleArgs,
                                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def StartStopManagedInstanceSchedule(resource_name: str,
                                         opts: Optional[ResourceOptions] = None,
                                         managed_instance_name: Optional[str] = None,
                                         resource_group_name: Optional[str] = None,
                                         schedule_list: Optional[Sequence[ScheduleItemArgs]] = None,
                                         description: Optional[str] = None,
                                         start_stop_schedule_name: Optional[str] = None,
                                         time_zone_id: Optional[str] = None)
    func NewStartStopManagedInstanceSchedule(ctx *Context, name string, args StartStopManagedInstanceScheduleArgs, opts ...ResourceOption) (*StartStopManagedInstanceSchedule, error)
    public StartStopManagedInstanceSchedule(string name, StartStopManagedInstanceScheduleArgs args, CustomResourceOptions? opts = null)
    public StartStopManagedInstanceSchedule(String name, StartStopManagedInstanceScheduleArgs args)
    public StartStopManagedInstanceSchedule(String name, StartStopManagedInstanceScheduleArgs args, CustomResourceOptions options)
    
    type: azure-native:sql:StartStopManagedInstanceSchedule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args StartStopManagedInstanceScheduleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args StartStopManagedInstanceScheduleArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args StartStopManagedInstanceScheduleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StartStopManagedInstanceScheduleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StartStopManagedInstanceScheduleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var startStopManagedInstanceScheduleResource = new AzureNative.Sql.StartStopManagedInstanceSchedule("startStopManagedInstanceScheduleResource", new()
    {
        ManagedInstanceName = "string",
        ResourceGroupName = "string",
        ScheduleList = new[]
        {
            new AzureNative.Sql.Inputs.ScheduleItemArgs
            {
                StartDay = "string",
                StartTime = "string",
                StopDay = "string",
                StopTime = "string",
            },
        },
        Description = "string",
        StartStopScheduleName = "string",
        TimeZoneId = "string",
    });
    
    example, err := sql.NewStartStopManagedInstanceSchedule(ctx, "startStopManagedInstanceScheduleResource", &sql.StartStopManagedInstanceScheduleArgs{
    	ManagedInstanceName: pulumi.String("string"),
    	ResourceGroupName:   pulumi.String("string"),
    	ScheduleList: sql.ScheduleItemArray{
    		&sql.ScheduleItemArgs{
    			StartDay:  pulumi.String("string"),
    			StartTime: pulumi.String("string"),
    			StopDay:   pulumi.String("string"),
    			StopTime:  pulumi.String("string"),
    		},
    	},
    	Description:           pulumi.String("string"),
    	StartStopScheduleName: pulumi.String("string"),
    	TimeZoneId:            pulumi.String("string"),
    })
    
    var startStopManagedInstanceScheduleResource = new StartStopManagedInstanceSchedule("startStopManagedInstanceScheduleResource", StartStopManagedInstanceScheduleArgs.builder()
        .managedInstanceName("string")
        .resourceGroupName("string")
        .scheduleList(ScheduleItemArgs.builder()
            .startDay("string")
            .startTime("string")
            .stopDay("string")
            .stopTime("string")
            .build())
        .description("string")
        .startStopScheduleName("string")
        .timeZoneId("string")
        .build());
    
    start_stop_managed_instance_schedule_resource = azure_native.sql.StartStopManagedInstanceSchedule("startStopManagedInstanceScheduleResource",
        managed_instance_name="string",
        resource_group_name="string",
        schedule_list=[{
            "startDay": "string",
            "startTime": "string",
            "stopDay": "string",
            "stopTime": "string",
        }],
        description="string",
        start_stop_schedule_name="string",
        time_zone_id="string")
    
    const startStopManagedInstanceScheduleResource = new azure_native.sql.StartStopManagedInstanceSchedule("startStopManagedInstanceScheduleResource", {
        managedInstanceName: "string",
        resourceGroupName: "string",
        scheduleList: [{
            startDay: "string",
            startTime: "string",
            stopDay: "string",
            stopTime: "string",
        }],
        description: "string",
        startStopScheduleName: "string",
        timeZoneId: "string",
    });
    
    type: azure-native:sql:StartStopManagedInstanceSchedule
    properties:
        description: string
        managedInstanceName: string
        resourceGroupName: string
        scheduleList:
            - startDay: string
              startTime: string
              stopDay: string
              stopTime: string
        startStopScheduleName: string
        timeZoneId: string
    

    StartStopManagedInstanceSchedule Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The StartStopManagedInstanceSchedule resource accepts the following input properties:

    ManagedInstanceName string
    The name of the managed instance.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    ScheduleList List<Pulumi.AzureNative.Sql.Inputs.ScheduleItem>
    Schedule list.
    Description string
    The description of the schedule.
    StartStopScheduleName string
    Name of the managed instance Start/Stop schedule.
    TimeZoneId string
    The time zone of the schedule.
    ManagedInstanceName string
    The name of the managed instance.
    ResourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    ScheduleList []ScheduleItemArgs
    Schedule list.
    Description string
    The description of the schedule.
    StartStopScheduleName string
    Name of the managed instance Start/Stop schedule.
    TimeZoneId string
    The time zone of the schedule.
    managedInstanceName String
    The name of the managed instance.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    scheduleList List<ScheduleItem>
    Schedule list.
    description String
    The description of the schedule.
    startStopScheduleName String
    Name of the managed instance Start/Stop schedule.
    timeZoneId String
    The time zone of the schedule.
    managedInstanceName string
    The name of the managed instance.
    resourceGroupName string
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    scheduleList ScheduleItem[]
    Schedule list.
    description string
    The description of the schedule.
    startStopScheduleName string
    Name of the managed instance Start/Stop schedule.
    timeZoneId string
    The time zone of the schedule.
    managed_instance_name str
    The name of the managed instance.
    resource_group_name str
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    schedule_list Sequence[ScheduleItemArgs]
    Schedule list.
    description str
    The description of the schedule.
    start_stop_schedule_name str
    Name of the managed instance Start/Stop schedule.
    time_zone_id str
    The time zone of the schedule.
    managedInstanceName String
    The name of the managed instance.
    resourceGroupName String
    The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    scheduleList List<Property Map>
    Schedule list.
    description String
    The description of the schedule.
    startStopScheduleName String
    Name of the managed instance Start/Stop schedule.
    timeZoneId String
    The time zone of the schedule.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the StartStopManagedInstanceSchedule resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name.
    NextExecutionTime string
    Timestamp when the next action will be executed in the corresponding schedule time zone.
    NextRunAction string
    Next action to be executed (Start or Stop)
    SystemData Pulumi.AzureNative.Sql.Outputs.SystemDataResponse
    System data of the scheduled resource.
    Type string
    Resource type.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    Resource name.
    NextExecutionTime string
    Timestamp when the next action will be executed in the corresponding schedule time zone.
    NextRunAction string
    Next action to be executed (Start or Stop)
    SystemData SystemDataResponse
    System data of the scheduled resource.
    Type string
    Resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name.
    nextExecutionTime String
    Timestamp when the next action will be executed in the corresponding schedule time zone.
    nextRunAction String
    Next action to be executed (Start or Stop)
    systemData SystemDataResponse
    System data of the scheduled resource.
    type String
    Resource type.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    Resource name.
    nextExecutionTime string
    Timestamp when the next action will be executed in the corresponding schedule time zone.
    nextRunAction string
    Next action to be executed (Start or Stop)
    systemData SystemDataResponse
    System data of the scheduled resource.
    type string
    Resource type.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    Resource name.
    next_execution_time str
    Timestamp when the next action will be executed in the corresponding schedule time zone.
    next_run_action str
    Next action to be executed (Start or Stop)
    system_data SystemDataResponse
    System data of the scheduled resource.
    type str
    Resource type.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    Resource name.
    nextExecutionTime String
    Timestamp when the next action will be executed in the corresponding schedule time zone.
    nextRunAction String
    Next action to be executed (Start or Stop)
    systemData Property Map
    System data of the scheduled resource.
    type String
    Resource type.

    Supporting Types

    DayOfWeek, DayOfWeekArgs

    Sunday
    Sunday
    Monday
    Monday
    Tuesday
    Tuesday
    Wednesday
    Wednesday
    Thursday
    Thursday
    Friday
    Friday
    Saturday
    Saturday
    DayOfWeekSunday
    Sunday
    DayOfWeekMonday
    Monday
    DayOfWeekTuesday
    Tuesday
    DayOfWeekWednesday
    Wednesday
    DayOfWeekThursday
    Thursday
    DayOfWeekFriday
    Friday
    DayOfWeekSaturday
    Saturday
    Sunday
    Sunday
    Monday
    Monday
    Tuesday
    Tuesday
    Wednesday
    Wednesday
    Thursday
    Thursday
    Friday
    Friday
    Saturday
    Saturday
    Sunday
    Sunday
    Monday
    Monday
    Tuesday
    Tuesday
    Wednesday
    Wednesday
    Thursday
    Thursday
    Friday
    Friday
    Saturday
    Saturday
    SUNDAY
    Sunday
    MONDAY
    Monday
    TUESDAY
    Tuesday
    WEDNESDAY
    Wednesday
    THURSDAY
    Thursday
    FRIDAY
    Friday
    SATURDAY
    Saturday
    "Sunday"
    Sunday
    "Monday"
    Monday
    "Tuesday"
    Tuesday
    "Wednesday"
    Wednesday
    "Thursday"
    Thursday
    "Friday"
    Friday
    "Saturday"
    Saturday

    ScheduleItem, ScheduleItemArgs

    StartDay string | Pulumi.AzureNative.Sql.DayOfWeek
    Start day.
    StartTime string
    Start time.
    StopDay string | Pulumi.AzureNative.Sql.DayOfWeek
    Stop day.
    StopTime string
    Stop time.
    StartDay string | DayOfWeek
    Start day.
    StartTime string
    Start time.
    StopDay string | DayOfWeek
    Stop day.
    StopTime string
    Stop time.
    startDay String | DayOfWeek
    Start day.
    startTime String
    Start time.
    stopDay String | DayOfWeek
    Stop day.
    stopTime String
    Stop time.
    startDay string | DayOfWeek
    Start day.
    startTime string
    Start time.
    stopDay string | DayOfWeek
    Stop day.
    stopTime string
    Stop time.
    start_day str | DayOfWeek
    Start day.
    start_time str
    Start time.
    stop_day str | DayOfWeek
    Stop day.
    stop_time str
    Stop time.

    ScheduleItemResponse, ScheduleItemResponseArgs

    StartDay string
    Start day.
    StartTime string
    Start time.
    StopDay string
    Stop day.
    StopTime string
    Stop time.
    StartDay string
    Start day.
    StartTime string
    Start time.
    StopDay string
    Stop day.
    StopTime string
    Stop time.
    startDay String
    Start day.
    startTime String
    Start time.
    stopDay String
    Stop day.
    stopTime String
    Stop time.
    startDay string
    Start day.
    startTime string
    Start time.
    stopDay string
    Stop day.
    stopTime string
    Stop time.
    start_day str
    Start day.
    start_time str
    Start time.
    stop_day str
    Stop day.
    stop_time str
    Stop time.
    startDay String
    Start day.
    startTime String
    Start time.
    stopDay String
    Stop day.
    stopTime String
    Stop time.

    SystemDataResponse, SystemDataResponseArgs

    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:sql:StartStopManagedInstanceSchedule default /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/startStopSchedules/{startStopScheduleName} 
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi