1. Packages
  2. Azure Native v2
  3. API Docs
  4. devtestlab
  5. ServiceFabric
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.devtestlab.ServiceFabric

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

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

Example Usage

ServiceFabrics_CreateOrUpdate

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;

return await Deployment.RunAsync(() => 
{
    var serviceFabric = new AzureNative.DevTestLab.ServiceFabric("serviceFabric", new()
    {
        EnvironmentId = "{environmentId}",
        ExternalServiceFabricId = "{serviceFabricId}",
        LabName = "{labName}",
        Location = "{location}",
        Name = "{serviceFabricName}",
        ResourceGroupName = "resourceGroupName",
        Tags = 
        {
            { "tagName1", "tagValue1" },
        },
        UserName = "{userName}",
    });

});
Copy
package main

import (
	devtestlab "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.NewServiceFabric(ctx, "serviceFabric", &devtestlab.ServiceFabricArgs{
			EnvironmentId:           pulumi.String("{environmentId}"),
			ExternalServiceFabricId: pulumi.String("{serviceFabricId}"),
			LabName:                 pulumi.String("{labName}"),
			Location:                pulumi.String("{location}"),
			Name:                    pulumi.String("{serviceFabricName}"),
			ResourceGroupName:       pulumi.String("resourceGroupName"),
			Tags: pulumi.StringMap{
				"tagName1": pulumi.String("tagValue1"),
			},
			UserName: pulumi.String("{userName}"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.devtestlab.ServiceFabric;
import com.pulumi.azurenative.devtestlab.ServiceFabricArgs;
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 serviceFabric = new ServiceFabric("serviceFabric", ServiceFabricArgs.builder()
            .environmentId("{environmentId}")
            .externalServiceFabricId("{serviceFabricId}")
            .labName("{labName}")
            .location("{location}")
            .name("{serviceFabricName}")
            .resourceGroupName("resourceGroupName")
            .tags(Map.of("tagName1", "tagValue1"))
            .userName("{userName}")
            .build());

    }
}
Copy
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const serviceFabric = new azure_native.devtestlab.ServiceFabric("serviceFabric", {
    environmentId: "{environmentId}",
    externalServiceFabricId: "{serviceFabricId}",
    labName: "{labName}",
    location: "{location}",
    name: "{serviceFabricName}",
    resourceGroupName: "resourceGroupName",
    tags: {
        tagName1: "tagValue1",
    },
    userName: "{userName}",
});
Copy
import pulumi
import pulumi_azure_native as azure_native

service_fabric = azure_native.devtestlab.ServiceFabric("serviceFabric",
    environment_id="{environmentId}",
    external_service_fabric_id="{serviceFabricId}",
    lab_name="{labName}",
    location="{location}",
    name="{serviceFabricName}",
    resource_group_name="resourceGroupName",
    tags={
        "tagName1": "tagValue1",
    },
    user_name="{userName}")
Copy
resources:
  serviceFabric:
    type: azure-native:devtestlab:ServiceFabric
    properties:
      environmentId: '{environmentId}'
      externalServiceFabricId: '{serviceFabricId}'
      labName: '{labName}'
      location: '{location}'
      name: '{serviceFabricName}'
      resourceGroupName: resourceGroupName
      tags:
        tagName1: tagValue1
      userName: '{userName}'
Copy

Create ServiceFabric Resource

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

Constructor syntax

new ServiceFabric(name: string, args: ServiceFabricArgs, opts?: CustomResourceOptions);
@overload
def ServiceFabric(resource_name: str,
                  args: ServiceFabricArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def ServiceFabric(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  lab_name: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  user_name: Optional[str] = None,
                  environment_id: Optional[str] = None,
                  external_service_fabric_id: Optional[str] = None,
                  location: Optional[str] = None,
                  name: Optional[str] = None,
                  tags: Optional[Mapping[str, str]] = None)
func NewServiceFabric(ctx *Context, name string, args ServiceFabricArgs, opts ...ResourceOption) (*ServiceFabric, error)
public ServiceFabric(string name, ServiceFabricArgs args, CustomResourceOptions? opts = null)
public ServiceFabric(String name, ServiceFabricArgs args)
public ServiceFabric(String name, ServiceFabricArgs args, CustomResourceOptions options)
type: azure-native:devtestlab:ServiceFabric
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ServiceFabricArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ServiceFabricArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ServiceFabricArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ServiceFabricArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ServiceFabricArgs
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 serviceFabricResource = new AzureNative.Devtestlab.ServiceFabric("serviceFabricResource", new()
{
    LabName = "string",
    ResourceGroupName = "string",
    UserName = "string",
    EnvironmentId = "string",
    ExternalServiceFabricId = "string",
    Location = "string",
    Name = "string",
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := devtestlab.NewServiceFabric(ctx, "serviceFabricResource", &devtestlab.ServiceFabricArgs{
	LabName:                 "string",
	ResourceGroupName:       "string",
	UserName:                "string",
	EnvironmentId:           "string",
	ExternalServiceFabricId: "string",
	Location:                "string",
	Name:                    "string",
	Tags: map[string]interface{}{
		"string": "string",
	},
})
Copy
var serviceFabricResource = new ServiceFabric("serviceFabricResource", ServiceFabricArgs.builder()
    .labName("string")
    .resourceGroupName("string")
    .userName("string")
    .environmentId("string")
    .externalServiceFabricId("string")
    .location("string")
    .name("string")
    .tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
    .build());
Copy
service_fabric_resource = azure_native.devtestlab.ServiceFabric("serviceFabricResource",
    lab_name=string,
    resource_group_name=string,
    user_name=string,
    environment_id=string,
    external_service_fabric_id=string,
    location=string,
    name=string,
    tags={
        string: string,
    })
Copy
const serviceFabricResource = new azure_native.devtestlab.ServiceFabric("serviceFabricResource", {
    labName: "string",
    resourceGroupName: "string",
    userName: "string",
    environmentId: "string",
    externalServiceFabricId: "string",
    location: "string",
    name: "string",
    tags: {
        string: "string",
    },
});
Copy
type: azure-native:devtestlab:ServiceFabric
properties:
    environmentId: string
    externalServiceFabricId: string
    labName: string
    location: string
    name: string
    resourceGroupName: string
    tags:
        string: string
    userName: string
Copy

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

LabName
This property is required.
Changes to this property will trigger replacement.
string
The name of the lab.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
UserName
This property is required.
Changes to this property will trigger replacement.
string
The name of the user profile.
EnvironmentId string
The resource id of the environment under which the service fabric resource is present
ExternalServiceFabricId string
The backing service fabric resource's id
Location string
The location of the resource.
Name Changes to this property will trigger replacement. string
The name of the service fabric.
Tags Dictionary<string, string>
The tags of the resource.
LabName
This property is required.
Changes to this property will trigger replacement.
string
The name of the lab.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
UserName
This property is required.
Changes to this property will trigger replacement.
string
The name of the user profile.
EnvironmentId string
The resource id of the environment under which the service fabric resource is present
ExternalServiceFabricId string
The backing service fabric resource's id
Location string
The location of the resource.
Name Changes to this property will trigger replacement. string
The name of the service fabric.
Tags map[string]string
The tags of the resource.
labName
This property is required.
Changes to this property will trigger replacement.
String
The name of the lab.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
userName
This property is required.
Changes to this property will trigger replacement.
String
The name of the user profile.
environmentId String
The resource id of the environment under which the service fabric resource is present
externalServiceFabricId String
The backing service fabric resource's id
location String
The location of the resource.
name Changes to this property will trigger replacement. String
The name of the service fabric.
tags Map<String,String>
The tags of the resource.
labName
This property is required.
Changes to this property will trigger replacement.
string
The name of the lab.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
The name of the resource group.
userName
This property is required.
Changes to this property will trigger replacement.
string
The name of the user profile.
environmentId string
The resource id of the environment under which the service fabric resource is present
externalServiceFabricId string
The backing service fabric resource's id
location string
The location of the resource.
name Changes to this property will trigger replacement. string
The name of the service fabric.
tags {[key: string]: string}
The tags of the resource.
lab_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the lab.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the resource group.
user_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the user profile.
environment_id str
The resource id of the environment under which the service fabric resource is present
external_service_fabric_id str
The backing service fabric resource's id
location str
The location of the resource.
name Changes to this property will trigger replacement. str
The name of the service fabric.
tags Mapping[str, str]
The tags of the resource.
labName
This property is required.
Changes to this property will trigger replacement.
String
The name of the lab.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
The name of the resource group.
userName
This property is required.
Changes to this property will trigger replacement.
String
The name of the user profile.
environmentId String
The resource id of the environment under which the service fabric resource is present
externalServiceFabricId String
The backing service fabric resource's id
location String
The location of the resource.
name Changes to this property will trigger replacement. String
The name of the service fabric.
tags Map<String>
The tags of the resource.

Outputs

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

ApplicableSchedule Pulumi.AzureNative.DevTestLab.Outputs.ApplicableScheduleResponse
The applicable schedule for the virtual machine.
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).
ApplicableSchedule ApplicableScheduleResponse
The applicable schedule for the virtual machine.
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).
applicableSchedule ApplicableScheduleResponse
The applicable schedule for the virtual machine.
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).
applicableSchedule ApplicableScheduleResponse
The applicable schedule for the virtual machine.
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).
applicable_schedule ApplicableScheduleResponse
The applicable schedule for the virtual machine.
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).
applicableSchedule Property Map
The applicable schedule for the virtual machine.
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

ApplicableScheduleResponse
, ApplicableScheduleResponseArgs

Id This property is required. string
The identifier of the resource.
Name This property is required. string
The name of the resource.
Type This property is required. string
The type of the resource.
LabVmsShutdown Pulumi.AzureNative.DevTestLab.Inputs.ScheduleResponse
The auto-shutdown schedule, if one has been set at the lab or lab resource level.
LabVmsStartup Pulumi.AzureNative.DevTestLab.Inputs.ScheduleResponse
The auto-startup schedule, if one has been set at the lab or lab resource level.
Location string
The location of the resource.
Tags Dictionary<string, string>
The tags of the resource.
Id This property is required. string
The identifier of the resource.
Name This property is required. string
The name of the resource.
Type This property is required. string
The type of the resource.
LabVmsShutdown ScheduleResponse
The auto-shutdown schedule, if one has been set at the lab or lab resource level.
LabVmsStartup ScheduleResponse
The auto-startup schedule, if one has been set at the lab or lab resource level.
Location string
The location of the resource.
Tags map[string]string
The tags of the resource.
id This property is required. String
The identifier of the resource.
name This property is required. String
The name of the resource.
type This property is required. String
The type of the resource.
labVmsShutdown ScheduleResponse
The auto-shutdown schedule, if one has been set at the lab or lab resource level.
labVmsStartup ScheduleResponse
The auto-startup schedule, if one has been set at the lab or lab resource level.
location String
The location of the resource.
tags Map<String,String>
The tags of the resource.
id This property is required. string
The identifier of the resource.
name This property is required. string
The name of the resource.
type This property is required. string
The type of the resource.
labVmsShutdown ScheduleResponse
The auto-shutdown schedule, if one has been set at the lab or lab resource level.
labVmsStartup ScheduleResponse
The auto-startup schedule, if one has been set at the lab or lab resource level.
location string
The location of the resource.
tags {[key: string]: string}
The tags of the resource.
id This property is required. str
The identifier of the resource.
name This property is required. str
The name of the resource.
type This property is required. str
The type of the resource.
lab_vms_shutdown ScheduleResponse
The auto-shutdown schedule, if one has been set at the lab or lab resource level.
lab_vms_startup ScheduleResponse
The auto-startup schedule, if one has been set at the lab or lab resource level.
location str
The location of the resource.
tags Mapping[str, str]
The tags of the resource.
id This property is required. String
The identifier of the resource.
name This property is required. String
The name of the resource.
type This property is required. String
The type of the resource.
labVmsShutdown Property Map
The auto-shutdown schedule, if one has been set at the lab or lab resource level.
labVmsStartup Property Map
The auto-startup schedule, if one has been set at the lab or lab resource level.
location String
The location of the resource.
tags Map<String>
The tags of the resource.

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.

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.

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.

ScheduleResponse
, ScheduleResponseArgs

CreatedDate This property is required. string
The creation date of the schedule.
Id This property is required. string
The identifier of the resource.
Name This property is required. string
The name of the resource.
ProvisioningState This property is required. string
The provisioning status of the resource.
Type This property is required. string
The type of the resource.
UniqueIdentifier This property is required. string
The unique immutable identifier of a resource (Guid).
DailyRecurrence Pulumi.AzureNative.DevTestLab.Inputs.DayDetailsResponse
If the schedule will occur once each day of the week, specify the daily recurrence.
HourlyRecurrence Pulumi.AzureNative.DevTestLab.Inputs.HourDetailsResponse
If the schedule will occur multiple times a day, specify the hourly recurrence.
Location string
The location of the resource.
NotificationSettings Pulumi.AzureNative.DevTestLab.Inputs.NotificationSettingsResponse
Notification settings.
Status string
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.WeekDetailsResponse
If the schedule will occur only some days of the week, specify the weekly recurrence.
CreatedDate This property is required. string
The creation date of the schedule.
Id This property is required. string
The identifier of the resource.
Name This property is required. string
The name of the resource.
ProvisioningState This property is required. string
The provisioning status of the resource.
Type This property is required. string
The type of the resource.
UniqueIdentifier This property is required. string
The unique immutable identifier of a resource (Guid).
DailyRecurrence DayDetailsResponse
If the schedule will occur once each day of the week, specify the daily recurrence.
HourlyRecurrence HourDetailsResponse
If the schedule will occur multiple times a day, specify the hourly recurrence.
Location string
The location of the resource.
NotificationSettings NotificationSettingsResponse
Notification settings.
Status string
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 WeekDetailsResponse
If the schedule will occur only some days of the week, specify the weekly recurrence.
createdDate This property is required. String
The creation date of the schedule.
id This property is required. String
The identifier of the resource.
name This property is required. String
The name of the resource.
provisioningState This property is required. String
The provisioning status of the resource.
type This property is required. String
The type of the resource.
uniqueIdentifier This property is required. String
The unique immutable identifier of a resource (Guid).
dailyRecurrence DayDetailsResponse
If the schedule will occur once each day of the week, specify the daily recurrence.
hourlyRecurrence HourDetailsResponse
If the schedule will occur multiple times a day, specify the hourly recurrence.
location String
The location of the resource.
notificationSettings NotificationSettingsResponse
Notification settings.
status String
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 WeekDetailsResponse
If the schedule will occur only some days of the week, specify the weekly recurrence.
createdDate This property is required. string
The creation date of the schedule.
id This property is required. string
The identifier of the resource.
name This property is required. string
The name of the resource.
provisioningState This property is required. string
The provisioning status of the resource.
type This property is required. string
The type of the resource.
uniqueIdentifier This property is required. string
The unique immutable identifier of a resource (Guid).
dailyRecurrence DayDetailsResponse
If the schedule will occur once each day of the week, specify the daily recurrence.
hourlyRecurrence HourDetailsResponse
If the schedule will occur multiple times a day, specify the hourly recurrence.
location string
The location of the resource.
notificationSettings NotificationSettingsResponse
Notification settings.
status string
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 WeekDetailsResponse
If the schedule will occur only some days of the week, specify the weekly recurrence.
created_date This property is required. str
The creation date of the schedule.
id This property is required. str
The identifier of the resource.
name This property is required. str
The name of the resource.
provisioning_state This property is required. str
The provisioning status of the resource.
type This property is required. str
The type of the resource.
unique_identifier This property is required. str
The unique immutable identifier of a resource (Guid).
daily_recurrence DayDetailsResponse
If the schedule will occur once each day of the week, specify the daily recurrence.
hourly_recurrence HourDetailsResponse
If the schedule will occur multiple times a day, specify the hourly recurrence.
location str
The location of the resource.
notification_settings NotificationSettingsResponse
Notification settings.
status str
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 WeekDetailsResponse
If the schedule will occur only some days of the week, specify the weekly recurrence.
createdDate This property is required. String
The creation date of the schedule.
id This property is required. String
The identifier of the resource.
name This property is required. String
The name of the resource.
provisioningState This property is required. String
The provisioning status of the resource.
type This property is required. String
The type of the resource.
uniqueIdentifier This property is required. String
The unique immutable identifier of a resource (Guid).
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.
notificationSettings Property Map
Notification settings.
status String
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.

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:ServiceFabric {serviceFabricName} /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevTestLab/labs/{labName}/users/{userName}/servicefabrics/{name} 
Copy

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

Package Details

Repository
azure-native-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi