1. Packages
  2. Azure Native
  3. API Docs
  4. devtestlab
  5. ServiceFabricSchedule
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.34.0 published on Thursday, Mar 28, 2024 by Pulumi

azure-native.devtestlab.ServiceFabricSchedule

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.34.0 published on Thursday, Mar 28, 2024 by Pulumi

    A schedule. Azure REST API version: 2018-09-15. Prior API version in Azure Native 1.x: 2018-09-15.

    Example Usage

    ServiceFabricSchedules_CreateOrUpdate

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var serviceFabricSchedule = new AzureNative.DevTestLab.ServiceFabricSchedule("serviceFabricSchedule", new()
        {
            DailyRecurrence = new AzureNative.DevTestLab.Inputs.DayDetailsArgs
            {
                Time = "19:00",
            },
            HourlyRecurrence = new AzureNative.DevTestLab.Inputs.HourDetailsArgs
            {
                Minute = 0,
            },
            LabName = "{labName}",
            Location = "{location}",
            Name = "{scheduleName}",
            NotificationSettings = new AzureNative.DevTestLab.Inputs.NotificationSettingsArgs
            {
                EmailRecipient = "{email}",
                NotificationLocale = "EN",
                Status = "{Enabled|Disabled}",
                TimeInMinutes = 15,
                WebhookUrl = "{webhoolUrl}",
            },
            ResourceGroupName = "resourceGroupName",
            ServiceFabricName = "{serviceFrabicName}",
            Status = "{Enabled|Disabled}",
            Tags = 
            {
                { "tagName1", "tagValue1" },
            },
            TargetResourceId = "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
            TaskType = "{Unknown|LabVmsShutdownTask|LabVmsStartupTask|LabVmReclamationTask|ComputeVmShutdownTask}",
            TimeZoneId = "Pacific Standard Time",
            UserName = "@me",
            WeeklyRecurrence = new AzureNative.DevTestLab.Inputs.WeekDetailsArgs
            {
                Time = "19:00",
                Weekdays = new[]
                {
                    "Monday",
                    "Tuesday",
                    "Wednesday",
                    "Thursday",
                    "Friday",
                    "Saturday",
                    "Sunday",
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azure-native-sdk/devtestlab/v2"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := devtestlab.NewServiceFabricSchedule(ctx, "serviceFabricSchedule", &devtestlab.ServiceFabricScheduleArgs{
    			DailyRecurrence: &devtestlab.DayDetailsArgs{
    				Time: pulumi.String("19:00"),
    			},
    			HourlyRecurrence: &devtestlab.HourDetailsArgs{
    				Minute: pulumi.Int(0),
    			},
    			LabName:  pulumi.String("{labName}"),
    			Location: pulumi.String("{location}"),
    			Name:     pulumi.String("{scheduleName}"),
    			NotificationSettings: &devtestlab.NotificationSettingsArgs{
    				EmailRecipient:     pulumi.String("{email}"),
    				NotificationLocale: pulumi.String("EN"),
    				Status:             pulumi.String("{Enabled|Disabled}"),
    				TimeInMinutes:      pulumi.Int(15),
    				WebhookUrl:         pulumi.String("{webhoolUrl}"),
    			},
    			ResourceGroupName: pulumi.String("resourceGroupName"),
    			ServiceFabricName: pulumi.String("{serviceFrabicName}"),
    			Status:            pulumi.String("{Enabled|Disabled}"),
    			Tags: pulumi.StringMap{
    				"tagName1": pulumi.String("tagValue1"),
    			},
    			TargetResourceId: pulumi.String("/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}"),
    			TaskType:         pulumi.String("{Unknown|LabVmsShutdownTask|LabVmsStartupTask|LabVmReclamationTask|ComputeVmShutdownTask}"),
    			TimeZoneId:       pulumi.String("Pacific Standard Time"),
    			UserName:         pulumi.String("@me"),
    			WeeklyRecurrence: &devtestlab.WeekDetailsArgs{
    				Time: pulumi.String("19:00"),
    				Weekdays: pulumi.StringArray{
    					pulumi.String("Monday"),
    					pulumi.String("Tuesday"),
    					pulumi.String("Wednesday"),
    					pulumi.String("Thursday"),
    					pulumi.String("Friday"),
    					pulumi.String("Saturday"),
    					pulumi.String("Sunday"),
    				},
    			},
    		})
    		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.devtestlab.ServiceFabricSchedule;
    import com.pulumi.azurenative.devtestlab.ServiceFabricScheduleArgs;
    import com.pulumi.azurenative.devtestlab.inputs.DayDetailsArgs;
    import com.pulumi.azurenative.devtestlab.inputs.HourDetailsArgs;
    import com.pulumi.azurenative.devtestlab.inputs.NotificationSettingsArgs;
    import com.pulumi.azurenative.devtestlab.inputs.WeekDetailsArgs;
    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 serviceFabricSchedule = new ServiceFabricSchedule("serviceFabricSchedule", ServiceFabricScheduleArgs.builder()        
                .dailyRecurrence(DayDetailsArgs.builder()
                    .time("19:00")
                    .build())
                .hourlyRecurrence(HourDetailsArgs.builder()
                    .minute(0)
                    .build())
                .labName("{labName}")
                .location("{location}")
                .name("{scheduleName}")
                .notificationSettings(NotificationSettingsArgs.builder()
                    .emailRecipient("{email}")
                    .notificationLocale("EN")
                    .status("{Enabled|Disabled}")
                    .timeInMinutes(15)
                    .webhookUrl("{webhoolUrl}")
                    .build())
                .resourceGroupName("resourceGroupName")
                .serviceFabricName("{serviceFrabicName}")
                .status("{Enabled|Disabled}")
                .tags(Map.of("tagName1", "tagValue1"))
                .targetResourceId("/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}")
                .taskType("{Unknown|LabVmsShutdownTask|LabVmsStartupTask|LabVmReclamationTask|ComputeVmShutdownTask}")
                .timeZoneId("Pacific Standard Time")
                .userName("@me")
                .weeklyRecurrence(WeekDetailsArgs.builder()
                    .time("19:00")
                    .weekdays(                
                        "Monday",
                        "Tuesday",
                        "Wednesday",
                        "Thursday",
                        "Friday",
                        "Saturday",
                        "Sunday")
                    .build())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    service_fabric_schedule = azure_native.devtestlab.ServiceFabricSchedule("serviceFabricSchedule",
        daily_recurrence=azure_native.devtestlab.DayDetailsArgs(
            time="19:00",
        ),
        hourly_recurrence=azure_native.devtestlab.HourDetailsArgs(
            minute=0,
        ),
        lab_name="{labName}",
        location="{location}",
        name="{scheduleName}",
        notification_settings=azure_native.devtestlab.NotificationSettingsArgs(
            email_recipient="{email}",
            notification_locale="EN",
            status="{Enabled|Disabled}",
            time_in_minutes=15,
            webhook_url="{webhoolUrl}",
        ),
        resource_group_name="resourceGroupName",
        service_fabric_name="{serviceFrabicName}",
        status="{Enabled|Disabled}",
        tags={
            "tagName1": "tagValue1",
        },
        target_resource_id="/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
        task_type="{Unknown|LabVmsShutdownTask|LabVmsStartupTask|LabVmReclamationTask|ComputeVmShutdownTask}",
        time_zone_id="Pacific Standard Time",
        user_name="@me",
        weekly_recurrence=azure_native.devtestlab.WeekDetailsArgs(
            time="19:00",
            weekdays=[
                "Monday",
                "Tuesday",
                "Wednesday",
                "Thursday",
                "Friday",
                "Saturday",
                "Sunday",
            ],
        ))
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const serviceFabricSchedule = new azure_native.devtestlab.ServiceFabricSchedule("serviceFabricSchedule", {
        dailyRecurrence: {
            time: "19:00",
        },
        hourlyRecurrence: {
            minute: 0,
        },
        labName: "{labName}",
        location: "{location}",
        name: "{scheduleName}",
        notificationSettings: {
            emailRecipient: "{email}",
            notificationLocale: "EN",
            status: "{Enabled|Disabled}",
            timeInMinutes: 15,
            webhookUrl: "{webhoolUrl}",
        },
        resourceGroupName: "resourceGroupName",
        serviceFabricName: "{serviceFrabicName}",
        status: "{Enabled|Disabled}",
        tags: {
            tagName1: "tagValue1",
        },
        targetResourceId: "/subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}",
        taskType: "{Unknown|LabVmsShutdownTask|LabVmsStartupTask|LabVmReclamationTask|ComputeVmShutdownTask}",
        timeZoneId: "Pacific Standard Time",
        userName: "@me",
        weeklyRecurrence: {
            time: "19:00",
            weekdays: [
                "Monday",
                "Tuesday",
                "Wednesday",
                "Thursday",
                "Friday",
                "Saturday",
                "Sunday",
            ],
        },
    });
    
    resources:
      serviceFabricSchedule:
        type: azure-native:devtestlab:ServiceFabricSchedule
        properties:
          dailyRecurrence:
            time: 19:00
          hourlyRecurrence:
            minute: 0
          labName: '{labName}'
          location: '{location}'
          name: '{scheduleName}'
          notificationSettings:
            emailRecipient: '{email}'
            notificationLocale: EN
            status: '{Enabled|Disabled}'
            timeInMinutes: 15
            webhookUrl: '{webhoolUrl}'
          resourceGroupName: resourceGroupName
          serviceFabricName: '{serviceFrabicName}'
          status: '{Enabled|Disabled}'
          tags:
            tagName1: tagValue1
          targetResourceId: /subscriptions/{subscriptionId}/resourceGroups/resourceGroupName/providers/Microsoft.DevTestLab/labs/{labName}/users/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}
          taskType: '{Unknown|LabVmsShutdownTask|LabVmsStartupTask|LabVmReclamationTask|ComputeVmShutdownTask}'
          timeZoneId: Pacific Standard Time
          userName: '@me'
          weeklyRecurrence:
            time: 19:00
            weekdays:
              - Monday
              - Tuesday
              - Wednesday
              - Thursday
              - Friday
              - Saturday
              - Sunday
    

    Create ServiceFabricSchedule Resource

    new ServiceFabricSchedule(name: string, args: ServiceFabricScheduleArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceFabricSchedule(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              daily_recurrence: Optional[DayDetailsArgs] = None,
                              hourly_recurrence: Optional[HourDetailsArgs] = None,
                              lab_name: Optional[str] = None,
                              location: Optional[str] = None,
                              name: Optional[str] = None,
                              notification_settings: Optional[NotificationSettingsArgs] = None,
                              resource_group_name: Optional[str] = None,
                              service_fabric_name: Optional[str] = None,
                              status: Optional[Union[str, EnableStatus]] = None,
                              tags: Optional[Mapping[str, str]] = None,
                              target_resource_id: Optional[str] = None,
                              task_type: Optional[str] = None,
                              time_zone_id: Optional[str] = None,
                              user_name: Optional[str] = None,
                              weekly_recurrence: Optional[WeekDetailsArgs] = None)
    @overload
    def ServiceFabricSchedule(resource_name: str,
                              args: ServiceFabricScheduleArgs,
                              opts: Optional[ResourceOptions] = None)
    func NewServiceFabricSchedule(ctx *Context, name string, args ServiceFabricScheduleArgs, opts ...ResourceOption) (*ServiceFabricSchedule, error)
    public ServiceFabricSchedule(string name, ServiceFabricScheduleArgs args, CustomResourceOptions? opts = null)
    public ServiceFabricSchedule(String name, ServiceFabricScheduleArgs args)
    public ServiceFabricSchedule(String name, ServiceFabricScheduleArgs args, CustomResourceOptions options)
    
    type: azure-native:devtestlab:ServiceFabricSchedule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ServiceFabricScheduleArgs
    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 ServiceFabricScheduleArgs
    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 ServiceFabricScheduleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceFabricScheduleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceFabricScheduleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    ServiceFabricSchedule 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 ServiceFabricSchedule resource accepts the following input properties:

    LabName string
    The name of the lab.
    ResourceGroupName string
    The name of the resource group.
    ServiceFabricName string
    The name of the service fabric.
    UserName string
    The name of the user profile.
    DailyRecurrence Pulumi.AzureNative.DevTestLab.Inputs.DayDetails
    If the schedule will occur once each day of the week, specify the daily recurrence.
    HourlyRecurrence Pulumi.AzureNative.DevTestLab.Inputs.HourDetails
    If the schedule will occur multiple times a day, specify the hourly recurrence.
    Location string
    The location of the resource.
    Name string
    The name of the schedule.
    NotificationSettings Pulumi.AzureNative.DevTestLab.Inputs.NotificationSettings
    Notification settings.
    Status string | Pulumi.AzureNative.DevTestLab.EnableStatus
    The status of the schedule (i.e. Enabled, Disabled)
    Tags Dictionary<string, string>
    The tags of the resource.
    TargetResourceId string
    The resource ID to which the schedule belongs
    TaskType string
    The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
    TimeZoneId string
    The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)
    WeeklyRecurrence Pulumi.AzureNative.DevTestLab.Inputs.WeekDetails
    If the schedule will occur only some days of the week, specify the weekly recurrence.
    LabName string
    The name of the lab.
    ResourceGroupName string
    The name of the resource group.
    ServiceFabricName string
    The name of the service fabric.
    UserName string
    The name of the user profile.
    DailyRecurrence DayDetailsArgs
    If the schedule will occur once each day of the week, specify the daily recurrence.
    HourlyRecurrence HourDetailsArgs
    If the schedule will occur multiple times a day, specify the hourly recurrence.
    Location string
    The location of the resource.
    Name string
    The name of the schedule.
    NotificationSettings NotificationSettingsArgs
    Notification settings.
    Status string | EnableStatus
    The status of the schedule (i.e. Enabled, Disabled)
    Tags map[string]string
    The tags of the resource.
    TargetResourceId string
    The resource ID to which the schedule belongs
    TaskType string
    The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
    TimeZoneId string
    The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)
    WeeklyRecurrence WeekDetailsArgs
    If the schedule will occur only some days of the week, specify the weekly recurrence.
    labName String
    The name of the lab.
    resourceGroupName String
    The name of the resource group.
    serviceFabricName String
    The name of the service fabric.
    userName String
    The name of the user profile.
    dailyRecurrence DayDetails
    If the schedule will occur once each day of the week, specify the daily recurrence.
    hourlyRecurrence HourDetails
    If the schedule will occur multiple times a day, specify the hourly recurrence.
    location String
    The location of the resource.
    name String
    The name of the schedule.
    notificationSettings NotificationSettings
    Notification settings.
    status String | EnableStatus
    The status of the schedule (i.e. Enabled, Disabled)
    tags Map<String,String>
    The tags of the resource.
    targetResourceId String
    The resource ID to which the schedule belongs
    taskType String
    The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
    timeZoneId String
    The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)
    weeklyRecurrence WeekDetails
    If the schedule will occur only some days of the week, specify the weekly recurrence.
    labName string
    The name of the lab.
    resourceGroupName string
    The name of the resource group.
    serviceFabricName string
    The name of the service fabric.
    userName string
    The name of the user profile.
    dailyRecurrence DayDetails
    If the schedule will occur once each day of the week, specify the daily recurrence.
    hourlyRecurrence HourDetails
    If the schedule will occur multiple times a day, specify the hourly recurrence.
    location string
    The location of the resource.
    name string
    The name of the schedule.
    notificationSettings NotificationSettings
    Notification settings.
    status string | EnableStatus
    The status of the schedule (i.e. Enabled, Disabled)
    tags {[key: string]: string}
    The tags of the resource.
    targetResourceId string
    The resource ID to which the schedule belongs
    taskType string
    The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
    timeZoneId string
    The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)
    weeklyRecurrence WeekDetails
    If the schedule will occur only some days of the week, specify the weekly recurrence.
    lab_name str
    The name of the lab.
    resource_group_name str
    The name of the resource group.
    service_fabric_name str
    The name of the service fabric.
    user_name str
    The name of the user profile.
    daily_recurrence DayDetailsArgs
    If the schedule will occur once each day of the week, specify the daily recurrence.
    hourly_recurrence HourDetailsArgs
    If the schedule will occur multiple times a day, specify the hourly recurrence.
    location str
    The location of the resource.
    name str
    The name of the schedule.
    notification_settings NotificationSettingsArgs
    Notification settings.
    status str | EnableStatus
    The status of the schedule (i.e. Enabled, Disabled)
    tags Mapping[str, str]
    The tags of the resource.
    target_resource_id str
    The resource ID to which the schedule belongs
    task_type str
    The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
    time_zone_id str
    The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)
    weekly_recurrence WeekDetailsArgs
    If the schedule will occur only some days of the week, specify the weekly recurrence.
    labName String
    The name of the lab.
    resourceGroupName String
    The name of the resource group.
    serviceFabricName String
    The name of the service fabric.
    userName String
    The name of the user profile.
    dailyRecurrence Property Map
    If the schedule will occur once each day of the week, specify the daily recurrence.
    hourlyRecurrence Property Map
    If the schedule will occur multiple times a day, specify the hourly recurrence.
    location String
    The location of the resource.
    name String
    The name of the schedule.
    notificationSettings Property Map
    Notification settings.
    status String | "Enabled" | "Disabled"
    The status of the schedule (i.e. Enabled, Disabled)
    tags Map<String>
    The tags of the resource.
    targetResourceId String
    The resource ID to which the schedule belongs
    taskType String
    The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
    timeZoneId String
    The time zone ID (e.g. China Standard Time, Greenland Standard Time, Pacific Standard time, etc.). The possible values for this property can be found in IReadOnlyCollection<string> TimeZoneConverter.TZConvert.KnownWindowsTimeZoneIds (https://github.com/mattjohnsonpint/TimeZoneConverter/blob/main/README.md)
    weeklyRecurrence Property Map
    If the schedule will occur only some days of the week, specify the weekly recurrence.

    Outputs

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

    CreatedDate string
    The creation date of the schedule.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProvisioningState string
    The provisioning status of the resource.
    Type string
    The type of the resource.
    UniqueIdentifier string
    The unique immutable identifier of a resource (Guid).
    CreatedDate string
    The creation date of the schedule.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProvisioningState string
    The provisioning status of the resource.
    Type string
    The type of the resource.
    UniqueIdentifier string
    The unique immutable identifier of a resource (Guid).
    createdDate String
    The creation date of the schedule.
    id String
    The provider-assigned unique ID for this managed resource.
    provisioningState String
    The provisioning status of the resource.
    type String
    The type of the resource.
    uniqueIdentifier String
    The unique immutable identifier of a resource (Guid).
    createdDate string
    The creation date of the schedule.
    id string
    The provider-assigned unique ID for this managed resource.
    provisioningState string
    The provisioning status of the resource.
    type string
    The type of the resource.
    uniqueIdentifier string
    The unique immutable identifier of a resource (Guid).
    created_date str
    The creation date of the schedule.
    id str
    The provider-assigned unique ID for this managed resource.
    provisioning_state str
    The provisioning status of the resource.
    type str
    The type of the resource.
    unique_identifier str
    The unique immutable identifier of a resource (Guid).
    createdDate String
    The creation date of the schedule.
    id String
    The provider-assigned unique ID for this managed resource.
    provisioningState String
    The provisioning status of the resource.
    type String
    The type of the resource.
    uniqueIdentifier String
    The unique immutable identifier of a resource (Guid).

    Supporting Types

    DayDetails, DayDetailsArgs

    Time string
    The time of day the schedule will occur.
    Time string
    The time of day the schedule will occur.
    time String
    The time of day the schedule will occur.
    time string
    The time of day the schedule will occur.
    time str
    The time of day the schedule will occur.
    time String
    The time of day the schedule will occur.

    DayDetailsResponse, DayDetailsResponseArgs

    Time string
    The time of day the schedule will occur.
    Time string
    The time of day the schedule will occur.
    time String
    The time of day the schedule will occur.
    time string
    The time of day the schedule will occur.
    time str
    The time of day the schedule will occur.
    time String
    The time of day the schedule will occur.

    EnableStatus, EnableStatusArgs

    Enabled
    Enabled
    Disabled
    Disabled
    EnableStatusEnabled
    Enabled
    EnableStatusDisabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    Enabled
    Enabled
    Disabled
    Disabled
    ENABLED
    Enabled
    DISABLED
    Disabled
    "Enabled"
    Enabled
    "Disabled"
    Disabled

    HourDetails, HourDetailsArgs

    Minute int
    Minutes of the hour the schedule will run.
    Minute int
    Minutes of the hour the schedule will run.
    minute Integer
    Minutes of the hour the schedule will run.
    minute number
    Minutes of the hour the schedule will run.
    minute int
    Minutes of the hour the schedule will run.
    minute Number
    Minutes of the hour the schedule will run.

    HourDetailsResponse, HourDetailsResponseArgs

    Minute int
    Minutes of the hour the schedule will run.
    Minute int
    Minutes of the hour the schedule will run.
    minute Integer
    Minutes of the hour the schedule will run.
    minute number
    Minutes of the hour the schedule will run.
    minute int
    Minutes of the hour the schedule will run.
    minute Number
    Minutes of the hour the schedule will run.

    NotificationSettings, NotificationSettingsArgs

    EmailRecipient string
    The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
    NotificationLocale string
    The locale to use when sending a notification (fallback for unsupported languages is EN).
    Status string | Pulumi.AzureNative.DevTestLab.EnableStatus
    If notifications are enabled for this schedule (i.e. Enabled, Disabled).
    TimeInMinutes int
    Time in minutes before event at which notification will be sent.
    WebhookUrl string
    The webhook URL to which the notification will be sent.
    EmailRecipient string
    The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
    NotificationLocale string
    The locale to use when sending a notification (fallback for unsupported languages is EN).
    Status string | EnableStatus
    If notifications are enabled for this schedule (i.e. Enabled, Disabled).
    TimeInMinutes int
    Time in minutes before event at which notification will be sent.
    WebhookUrl string
    The webhook URL to which the notification will be sent.
    emailRecipient String
    The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
    notificationLocale String
    The locale to use when sending a notification (fallback for unsupported languages is EN).
    status String | EnableStatus
    If notifications are enabled for this schedule (i.e. Enabled, Disabled).
    timeInMinutes Integer
    Time in minutes before event at which notification will be sent.
    webhookUrl String
    The webhook URL to which the notification will be sent.
    emailRecipient string
    The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
    notificationLocale string
    The locale to use when sending a notification (fallback for unsupported languages is EN).
    status string | EnableStatus
    If notifications are enabled for this schedule (i.e. Enabled, Disabled).
    timeInMinutes number
    Time in minutes before event at which notification will be sent.
    webhookUrl string
    The webhook URL to which the notification will be sent.
    email_recipient str
    The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
    notification_locale str
    The locale to use when sending a notification (fallback for unsupported languages is EN).
    status str | EnableStatus
    If notifications are enabled for this schedule (i.e. Enabled, Disabled).
    time_in_minutes int
    Time in minutes before event at which notification will be sent.
    webhook_url str
    The webhook URL to which the notification will be sent.
    emailRecipient String
    The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
    notificationLocale String
    The locale to use when sending a notification (fallback for unsupported languages is EN).
    status String | "Enabled" | "Disabled"
    If notifications are enabled for this schedule (i.e. Enabled, Disabled).
    timeInMinutes Number
    Time in minutes before event at which notification will be sent.
    webhookUrl String
    The webhook URL to which the notification will be sent.

    NotificationSettingsResponse, NotificationSettingsResponseArgs

    EmailRecipient string
    The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
    NotificationLocale string
    The locale to use when sending a notification (fallback for unsupported languages is EN).
    Status string
    If notifications are enabled for this schedule (i.e. Enabled, Disabled).
    TimeInMinutes int
    Time in minutes before event at which notification will be sent.
    WebhookUrl string
    The webhook URL to which the notification will be sent.
    EmailRecipient string
    The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
    NotificationLocale string
    The locale to use when sending a notification (fallback for unsupported languages is EN).
    Status string
    If notifications are enabled for this schedule (i.e. Enabled, Disabled).
    TimeInMinutes int
    Time in minutes before event at which notification will be sent.
    WebhookUrl string
    The webhook URL to which the notification will be sent.
    emailRecipient String
    The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
    notificationLocale String
    The locale to use when sending a notification (fallback for unsupported languages is EN).
    status String
    If notifications are enabled for this schedule (i.e. Enabled, Disabled).
    timeInMinutes Integer
    Time in minutes before event at which notification will be sent.
    webhookUrl String
    The webhook URL to which the notification will be sent.
    emailRecipient string
    The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
    notificationLocale string
    The locale to use when sending a notification (fallback for unsupported languages is EN).
    status string
    If notifications are enabled for this schedule (i.e. Enabled, Disabled).
    timeInMinutes number
    Time in minutes before event at which notification will be sent.
    webhookUrl string
    The webhook URL to which the notification will be sent.
    email_recipient str
    The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
    notification_locale str
    The locale to use when sending a notification (fallback for unsupported languages is EN).
    status str
    If notifications are enabled for this schedule (i.e. Enabled, Disabled).
    time_in_minutes int
    Time in minutes before event at which notification will be sent.
    webhook_url str
    The webhook URL to which the notification will be sent.
    emailRecipient String
    The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
    notificationLocale String
    The locale to use when sending a notification (fallback for unsupported languages is EN).
    status String
    If notifications are enabled for this schedule (i.e. Enabled, Disabled).
    timeInMinutes Number
    Time in minutes before event at which notification will be sent.
    webhookUrl String
    The webhook URL to which the notification will be sent.

    WeekDetails, WeekDetailsArgs

    Time string
    The time of the day the schedule will occur.
    Weekdays List<string>
    The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
    Time string
    The time of the day the schedule will occur.
    Weekdays []string
    The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
    time String
    The time of the day the schedule will occur.
    weekdays List<String>
    The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
    time string
    The time of the day the schedule will occur.
    weekdays string[]
    The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
    time str
    The time of the day the schedule will occur.
    weekdays Sequence[str]
    The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
    time String
    The time of the day the schedule will occur.
    weekdays List<String>
    The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).

    WeekDetailsResponse, WeekDetailsResponseArgs

    Time string
    The time of the day the schedule will occur.
    Weekdays List<string>
    The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
    Time string
    The time of the day the schedule will occur.
    Weekdays []string
    The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
    time String
    The time of the day the schedule will occur.
    weekdays List<String>
    The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
    time string
    The time of the day the schedule will occur.
    weekdays string[]
    The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
    time str
    The time of the day the schedule will occur.
    weekdays Sequence[str]
    The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).
    time String
    The time of the day the schedule will occur.
    weekdays List<String>
    The days of the week for which the schedule is set (e.g. Sunday, Monday, Tuesday, etc.).

    Import

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

    $ pulumi import azure-native:devtestlab:ServiceFabricSchedule {scheduleName} /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{serviceFabricName}/schedules/{name} 
    

    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.34.0 published on Thursday, Mar 28, 2024 by Pulumi