azure-native.devtestlab.ServiceFabricSchedule
Explore with Pulumi AI
A schedule. API Version: 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 (
devtestlab "github.com/pulumi/pulumi-azure-native-sdk/devtestlab"
"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 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(Map.of("time", "19:00"))
.hourlyRecurrence(Map.of("minute", 0))
.labName("{labName}")
.location("{location}")
.name("{scheduleName}")
.notificationSettings(Map.ofEntries(
Map.entry("emailRecipient", "{email}"),
Map.entry("notificationLocale", "EN"),
Map.entry("status", "{Enabled|Disabled}"),
Map.entry("timeInMinutes", 15),
Map.entry("webhookUrl", "{webhoolUrl}")
))
.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(Map.ofEntries(
Map.entry("time", "19:00"),
Map.entry("weekdays",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday")
))
.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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServiceFabricSchedule(name: string, args: ServiceFabricScheduleArgs, opts?: CustomResourceOptions);
@overload
def ServiceFabricSchedule(resource_name: str,
args: ServiceFabricScheduleArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ServiceFabricSchedule(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
user_name: Optional[str] = None,
lab_name: Optional[str] = None,
service_fabric_name: Optional[str] = None,
location: Optional[str] = None,
notification_settings: Optional[NotificationSettingsArgs] = None,
name: Optional[str] = None,
daily_recurrence: Optional[DayDetailsArgs] = 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,
hourly_recurrence: Optional[HourDetailsArgs] = None,
weekly_recurrence: Optional[WeekDetailsArgs] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var serviceFabricScheduleResource = new AzureNative.Devtestlab.ServiceFabricSchedule("serviceFabricScheduleResource", new()
{
ResourceGroupName = "string",
UserName = "string",
LabName = "string",
ServiceFabricName = "string",
Location = "string",
NotificationSettings =
{
{ "emailRecipient", "string" },
{ "notificationLocale", "string" },
{ "status", "string" },
{ "timeInMinutes", 0 },
{ "webhookUrl", "string" },
},
Name = "string",
DailyRecurrence =
{
{ "time", "string" },
},
Status = "string",
Tags =
{
{ "string", "string" },
},
TargetResourceId = "string",
TaskType = "string",
TimeZoneId = "string",
HourlyRecurrence =
{
{ "minute", 0 },
},
WeeklyRecurrence =
{
{ "time", "string" },
{ "weekdays", new[]
{
"string",
} },
},
});
example, err := devtestlab.NewServiceFabricSchedule(ctx, "serviceFabricScheduleResource", &devtestlab.ServiceFabricScheduleArgs{
ResourceGroupName: "string",
UserName: "string",
LabName: "string",
ServiceFabricName: "string",
Location: "string",
NotificationSettings: map[string]interface{}{
"emailRecipient": "string",
"notificationLocale": "string",
"status": "string",
"timeInMinutes": 0,
"webhookUrl": "string",
},
Name: "string",
DailyRecurrence: map[string]interface{}{
"time": "string",
},
Status: "string",
Tags: map[string]interface{}{
"string": "string",
},
TargetResourceId: "string",
TaskType: "string",
TimeZoneId: "string",
HourlyRecurrence: map[string]interface{}{
"minute": 0,
},
WeeklyRecurrence: map[string]interface{}{
"time": "string",
"weekdays": []string{
"string",
},
},
})
var serviceFabricScheduleResource = new ServiceFabricSchedule("serviceFabricScheduleResource", ServiceFabricScheduleArgs.builder()
.resourceGroupName("string")
.userName("string")
.labName("string")
.serviceFabricName("string")
.location("string")
.notificationSettings(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.name("string")
.dailyRecurrence(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.status("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.targetResourceId("string")
.taskType("string")
.timeZoneId("string")
.hourlyRecurrence(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.weeklyRecurrence(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
service_fabric_schedule_resource = azure_native.devtestlab.ServiceFabricSchedule("serviceFabricScheduleResource",
resource_group_name=string,
user_name=string,
lab_name=string,
service_fabric_name=string,
location=string,
notification_settings={
emailRecipient: string,
notificationLocale: string,
status: string,
timeInMinutes: 0,
webhookUrl: string,
},
name=string,
daily_recurrence={
time: string,
},
status=string,
tags={
string: string,
},
target_resource_id=string,
task_type=string,
time_zone_id=string,
hourly_recurrence={
minute: 0,
},
weekly_recurrence={
time: string,
weekdays: [string],
})
const serviceFabricScheduleResource = new azure_native.devtestlab.ServiceFabricSchedule("serviceFabricScheduleResource", {
resourceGroupName: "string",
userName: "string",
labName: "string",
serviceFabricName: "string",
location: "string",
notificationSettings: {
emailRecipient: "string",
notificationLocale: "string",
status: "string",
timeInMinutes: 0,
webhookUrl: "string",
},
name: "string",
dailyRecurrence: {
time: "string",
},
status: "string",
tags: {
string: "string",
},
targetResourceId: "string",
taskType: "string",
timeZoneId: "string",
hourlyRecurrence: {
minute: 0,
},
weeklyRecurrence: {
time: "string",
weekdays: ["string"],
},
});
type: azure-native:devtestlab:ServiceFabricSchedule
properties:
dailyRecurrence:
time: string
hourlyRecurrence:
minute: 0
labName: string
location: string
name: string
notificationSettings:
emailRecipient: string
notificationLocale: string
status: string
timeInMinutes: 0
webhookUrl: string
resourceGroupName: string
serviceFabricName: string
status: string
tags:
string: string
targetResourceId: string
taskType: string
timeZoneId: string
userName: string
weeklyRecurrence:
time: string
weekdays:
- string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ServiceFabricSchedule resource accepts the following input properties:
- Lab
Name string - The name of the lab.
- Resource
Group stringName - The name of the resource group.
- Service
Fabric stringName - The name of the service fabric.
- User
Name string - The name of the user profile.
- Daily
Recurrence Pulumi.Azure Native. Dev Test Lab. Inputs. Day Details - If the schedule will occur once each day of the week, specify the daily recurrence.
- Hourly
Recurrence Pulumi.Azure Native. Dev Test Lab. Inputs. Hour Details - 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.
- Notification
Settings Pulumi.Azure Native. Dev Test Lab. Inputs. Notification Settings - Notification settings.
- Status
string | Pulumi.
Azure Native. Dev Test Lab. Enable Status - The status of the schedule (i.e. Enabled, Disabled)
- Dictionary<string, string>
- The tags of the resource.
- Target
Resource stringId - The resource ID to which the schedule belongs
- Task
Type string - The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
- Time
Zone stringId - The time zone ID (e.g. Pacific Standard time).
- Weekly
Recurrence Pulumi.Azure Native. Dev Test Lab. Inputs. Week Details - If the schedule will occur only some days of the week, specify the weekly recurrence.
- Lab
Name string - The name of the lab.
- Resource
Group stringName - The name of the resource group.
- Service
Fabric stringName - The name of the service fabric.
- User
Name string - The name of the user profile.
- Daily
Recurrence DayDetails Args - If the schedule will occur once each day of the week, specify the daily recurrence.
- Hourly
Recurrence HourDetails Args - 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.
- Notification
Settings NotificationSettings Args - Notification settings.
- Status
string | Enable
Status - The status of the schedule (i.e. Enabled, Disabled)
- map[string]string
- The tags of the resource.
- Target
Resource stringId - The resource ID to which the schedule belongs
- Task
Type string - The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
- Time
Zone stringId - The time zone ID (e.g. Pacific Standard time).
- Weekly
Recurrence WeekDetails Args - If the schedule will occur only some days of the week, specify the weekly recurrence.
- lab
Name String - The name of the lab.
- resource
Group StringName - The name of the resource group.
- service
Fabric StringName - The name of the service fabric.
- user
Name String - The name of the user profile.
- daily
Recurrence DayDetails - If the schedule will occur once each day of the week, specify the daily recurrence.
- hourly
Recurrence 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.
- notification
Settings NotificationSettings - Notification settings.
- status
String | Enable
Status - The status of the schedule (i.e. Enabled, Disabled)
- Map<String,String>
- The tags of the resource.
- target
Resource StringId - The resource ID to which the schedule belongs
- task
Type String - The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
- time
Zone StringId - The time zone ID (e.g. Pacific Standard time).
- weekly
Recurrence WeekDetails - If the schedule will occur only some days of the week, specify the weekly recurrence.
- lab
Name string - The name of the lab.
- resource
Group stringName - The name of the resource group.
- service
Fabric stringName - The name of the service fabric.
- user
Name string - The name of the user profile.
- daily
Recurrence DayDetails - If the schedule will occur once each day of the week, specify the daily recurrence.
- hourly
Recurrence 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.
- notification
Settings NotificationSettings - Notification settings.
- status
string | Enable
Status - The status of the schedule (i.e. Enabled, Disabled)
- {[key: string]: string}
- The tags of the resource.
- target
Resource stringId - The resource ID to which the schedule belongs
- task
Type string - The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
- time
Zone stringId - The time zone ID (e.g. Pacific Standard time).
- weekly
Recurrence 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_ strname - The name of the resource group.
- service_
fabric_ strname - The name of the service fabric.
- user_
name str - The name of the user profile.
- daily_
recurrence DayDetails Args - If the schedule will occur once each day of the week, specify the daily recurrence.
- hourly_
recurrence HourDetails Args - 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 NotificationSettings Args - Notification settings.
- status
str | Enable
Status - The status of the schedule (i.e. Enabled, Disabled)
- Mapping[str, str]
- The tags of the resource.
- target_
resource_ strid - The resource ID to which the schedule belongs
- task_
type str - The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
- time_
zone_ strid - The time zone ID (e.g. Pacific Standard time).
- weekly_
recurrence WeekDetails Args - If the schedule will occur only some days of the week, specify the weekly recurrence.
- lab
Name String - The name of the lab.
- resource
Group StringName - The name of the resource group.
- service
Fabric StringName - The name of the service fabric.
- user
Name String - The name of the user profile.
- daily
Recurrence Property Map - If the schedule will occur once each day of the week, specify the daily recurrence.
- hourly
Recurrence 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.
- notification
Settings Property Map - Notification settings.
- status String | "Enabled" | "Disabled"
- The status of the schedule (i.e. Enabled, Disabled)
- Map<String>
- The tags of the resource.
- target
Resource StringId - The resource ID to which the schedule belongs
- task
Type String - The task type of the schedule (e.g. LabVmsShutdownTask, LabVmAutoStart).
- time
Zone StringId - The time zone ID (e.g. Pacific Standard time).
- weekly
Recurrence 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:
- Created
Date string - The creation date of the schedule.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - The provisioning status of the resource.
- Type string
- The type of the resource.
- Unique
Identifier string - The unique immutable identifier of a resource (Guid).
- Created
Date string - The creation date of the schedule.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - The provisioning status of the resource.
- Type string
- The type of the resource.
- Unique
Identifier string - The unique immutable identifier of a resource (Guid).
- created
Date String - The creation date of the schedule.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - The provisioning status of the resource.
- type String
- The type of the resource.
- unique
Identifier String - The unique immutable identifier of a resource (Guid).
- created
Date string - The creation date of the schedule.
- id string
- The provider-assigned unique ID for this managed resource.
- provisioning
State string - The provisioning status of the resource.
- type string
- The type of the resource.
- unique
Identifier 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).
- created
Date String - The creation date of the schedule.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - The provisioning status of the resource.
- type String
- The type of the resource.
- unique
Identifier 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
- Enable
Status Enabled - Enabled
- Enable
Status Disabled - 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
- Email
Recipient string - The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
- Notification
Locale string - The locale to use when sending a notification (fallback for unsupported languages is EN).
- Status
string | Pulumi.
Azure Native. Dev Test Lab. Enable Status - If notifications are enabled for this schedule (i.e. Enabled, Disabled).
- Time
In intMinutes - Time in minutes before event at which notification will be sent.
- Webhook
Url string - The webhook URL to which the notification will be sent.
- Email
Recipient string - The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
- Notification
Locale string - The locale to use when sending a notification (fallback for unsupported languages is EN).
- Status
string | Enable
Status - If notifications are enabled for this schedule (i.e. Enabled, Disabled).
- Time
In intMinutes - Time in minutes before event at which notification will be sent.
- Webhook
Url string - The webhook URL to which the notification will be sent.
- email
Recipient String - The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
- notification
Locale String - The locale to use when sending a notification (fallback for unsupported languages is EN).
- status
String | Enable
Status - If notifications are enabled for this schedule (i.e. Enabled, Disabled).
- time
In IntegerMinutes - Time in minutes before event at which notification will be sent.
- webhook
Url String - The webhook URL to which the notification will be sent.
- email
Recipient string - The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
- notification
Locale string - The locale to use when sending a notification (fallback for unsupported languages is EN).
- status
string | Enable
Status - If notifications are enabled for this schedule (i.e. Enabled, Disabled).
- time
In numberMinutes - Time in minutes before event at which notification will be sent.
- webhook
Url 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 | Enable
Status - If notifications are enabled for this schedule (i.e. Enabled, Disabled).
- time_
in_ intminutes - Time in minutes before event at which notification will be sent.
- webhook_
url str - The webhook URL to which the notification will be sent.
- email
Recipient String - The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
- notification
Locale 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).
- time
In NumberMinutes - Time in minutes before event at which notification will be sent.
- webhook
Url String - The webhook URL to which the notification will be sent.
NotificationSettingsResponse, NotificationSettingsResponseArgs
- Email
Recipient string - The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
- Notification
Locale 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).
- Time
In intMinutes - Time in minutes before event at which notification will be sent.
- Webhook
Url string - The webhook URL to which the notification will be sent.
- Email
Recipient string - The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
- Notification
Locale 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).
- Time
In intMinutes - Time in minutes before event at which notification will be sent.
- Webhook
Url string - The webhook URL to which the notification will be sent.
- email
Recipient String - The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
- notification
Locale 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).
- time
In IntegerMinutes - Time in minutes before event at which notification will be sent.
- webhook
Url String - The webhook URL to which the notification will be sent.
- email
Recipient string - The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
- notification
Locale 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).
- time
In numberMinutes - Time in minutes before event at which notification will be sent.
- webhook
Url 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_ intminutes - Time in minutes before event at which notification will be sent.
- webhook_
url str - The webhook URL to which the notification will be sent.
- email
Recipient String - The email recipient to send notifications to (can be a list of semi-colon separated email addresses).
- notification
Locale 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).
- time
In NumberMinutes - Time in minutes before event at which notification will be sent.
- webhook
Url String - The webhook URL to which the notification will be sent.
WeekDetails, WeekDetailsArgs
WeekDetailsResponse, WeekDetailsResponseArgs
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/{uniqueIdentifier}/servicefabrics/{serviceFrabicName}/schedules/{scheduleName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0