We recommend using Azure Native.
azure.lab.ServicePlan
Explore with Pulumi AI
Manages a Lab Service Plan.
Note: Before using this resource, it’s required to submit the request of registering the provider with Azure CLI
az provider register --namespace Microsoft.LabServices
.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var exampleResourceGroup = new Azure.Core.ResourceGroup("exampleResourceGroup", new()
{
Location = "West Europe",
});
var exampleServicePlan = new Azure.Lab.ServicePlan("exampleServicePlan", new()
{
ResourceGroupName = exampleResourceGroup.Name,
Location = exampleResourceGroup.Location,
AllowedRegions = new[]
{
exampleResourceGroup.Location,
},
});
});
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/lab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
_, err = lab.NewServicePlan(ctx, "exampleServicePlan", &lab.ServicePlanArgs{
ResourceGroupName: exampleResourceGroup.Name,
Location: exampleResourceGroup.Location,
AllowedRegions: pulumi.StringArray{
exampleResourceGroup.Location,
},
})
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.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.lab.ServicePlan;
import com.pulumi.azure.lab.ServicePlanArgs;
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 exampleResourceGroup = new ResourceGroup("exampleResourceGroup", ResourceGroupArgs.builder()
.location("West Europe")
.build());
var exampleServicePlan = new ServicePlan("exampleServicePlan", ServicePlanArgs.builder()
.resourceGroupName(exampleResourceGroup.name())
.location(exampleResourceGroup.location())
.allowedRegions(exampleResourceGroup.location())
.build());
}
}
import pulumi
import pulumi_azure as azure
example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe")
example_service_plan = azure.lab.ServicePlan("exampleServicePlan",
resource_group_name=example_resource_group.name,
location=example_resource_group.location,
allowed_regions=[example_resource_group.location])
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
const exampleServicePlan = new azure.lab.ServicePlan("exampleServicePlan", {
resourceGroupName: exampleResourceGroup.name,
location: exampleResourceGroup.location,
allowedRegions: [exampleResourceGroup.location],
});
resources:
exampleResourceGroup:
type: azure:core:ResourceGroup
properties:
location: West Europe
exampleServicePlan:
type: azure:lab:ServicePlan
properties:
resourceGroupName: ${exampleResourceGroup.name}
location: ${exampleResourceGroup.location}
allowedRegions:
- ${exampleResourceGroup.location}
Create ServicePlan Resource
new ServicePlan(name: string, args: ServicePlanArgs, opts?: CustomResourceOptions);
@overload
def ServicePlan(resource_name: str,
opts: Optional[ResourceOptions] = None,
allowed_regions: Optional[Sequence[str]] = None,
default_auto_shutdown: Optional[ServicePlanDefaultAutoShutdownArgs] = None,
default_connection: Optional[ServicePlanDefaultConnectionArgs] = None,
default_network_subnet_id: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
shared_gallery_id: Optional[str] = None,
support: Optional[ServicePlanSupportArgs] = None,
tags: Optional[Mapping[str, str]] = None)
@overload
def ServicePlan(resource_name: str,
args: ServicePlanArgs,
opts: Optional[ResourceOptions] = None)
func NewServicePlan(ctx *Context, name string, args ServicePlanArgs, opts ...ResourceOption) (*ServicePlan, error)
public ServicePlan(string name, ServicePlanArgs args, CustomResourceOptions? opts = null)
public ServicePlan(String name, ServicePlanArgs args)
public ServicePlan(String name, ServicePlanArgs args, CustomResourceOptions options)
type: azure:lab:ServicePlan
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServicePlanArgs
- 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 ServicePlanArgs
- 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 ServicePlanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServicePlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServicePlanArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ServicePlan 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 ServicePlan resource accepts the following input properties:
- Allowed
Regions List<string> The allowed regions for the lab creator to use when creating labs using this Lab Service Plan. The allowed region's count must be between
1
and28
.- Resource
Group stringName The name of the Resource Group where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- Default
Auto ServiceShutdown Plan Default Auto Shutdown A
default_auto_shutdown
block as defined below.- Default
Connection ServicePlan Default Connection A
default_connection
block as defined below.- Default
Network stringSubnet Id The resource ID of the Subnet for the Lab Service Plan network profile.
- Location string
The Azure Region where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- Name string
The name of the Lab Service Plan. Changing this forces a new resource to be created.
- string
The resource ID of the Shared Image Gallery attached to this Lab Service Plan. When saving a lab template virtual machine image it will be persisted in this gallery. The shared images from the gallery can be made available to use when creating new labs.
NOTE: The built-in
Azure Lab Services
Service Principal with role needs to be assigned to the Shared Image Gallery while using this property.- Support
Service
Plan Support A
support
block as defined below.- Dictionary<string, string>
A mapping of tags which should be assigned to the Lab Service Plan.
- Allowed
Regions []string The allowed regions for the lab creator to use when creating labs using this Lab Service Plan. The allowed region's count must be between
1
and28
.- Resource
Group stringName The name of the Resource Group where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- Default
Auto ServiceShutdown Plan Default Auto Shutdown Args A
default_auto_shutdown
block as defined below.- Default
Connection ServicePlan Default Connection Args A
default_connection
block as defined below.- Default
Network stringSubnet Id The resource ID of the Subnet for the Lab Service Plan network profile.
- Location string
The Azure Region where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- Name string
The name of the Lab Service Plan. Changing this forces a new resource to be created.
- string
The resource ID of the Shared Image Gallery attached to this Lab Service Plan. When saving a lab template virtual machine image it will be persisted in this gallery. The shared images from the gallery can be made available to use when creating new labs.
NOTE: The built-in
Azure Lab Services
Service Principal with role needs to be assigned to the Shared Image Gallery while using this property.- Support
Service
Plan Support Args A
support
block as defined below.- map[string]string
A mapping of tags which should be assigned to the Lab Service Plan.
- allowed
Regions List<String> The allowed regions for the lab creator to use when creating labs using this Lab Service Plan. The allowed region's count must be between
1
and28
.- resource
Group StringName The name of the Resource Group where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- default
Auto ServiceShutdown Plan Default Auto Shutdown A
default_auto_shutdown
block as defined below.- default
Connection ServicePlan Default Connection A
default_connection
block as defined below.- default
Network StringSubnet Id The resource ID of the Subnet for the Lab Service Plan network profile.
- location String
The Azure Region where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- name String
The name of the Lab Service Plan. Changing this forces a new resource to be created.
- String
The resource ID of the Shared Image Gallery attached to this Lab Service Plan. When saving a lab template virtual machine image it will be persisted in this gallery. The shared images from the gallery can be made available to use when creating new labs.
NOTE: The built-in
Azure Lab Services
Service Principal with role needs to be assigned to the Shared Image Gallery while using this property.- support
Service
Plan Support A
support
block as defined below.- Map<String,String>
A mapping of tags which should be assigned to the Lab Service Plan.
- allowed
Regions string[] The allowed regions for the lab creator to use when creating labs using this Lab Service Plan. The allowed region's count must be between
1
and28
.- resource
Group stringName The name of the Resource Group where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- default
Auto ServiceShutdown Plan Default Auto Shutdown A
default_auto_shutdown
block as defined below.- default
Connection ServicePlan Default Connection A
default_connection
block as defined below.- default
Network stringSubnet Id The resource ID of the Subnet for the Lab Service Plan network profile.
- location string
The Azure Region where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- name string
The name of the Lab Service Plan. Changing this forces a new resource to be created.
- string
The resource ID of the Shared Image Gallery attached to this Lab Service Plan. When saving a lab template virtual machine image it will be persisted in this gallery. The shared images from the gallery can be made available to use when creating new labs.
NOTE: The built-in
Azure Lab Services
Service Principal with role needs to be assigned to the Shared Image Gallery while using this property.- support
Service
Plan Support A
support
block as defined below.- {[key: string]: string}
A mapping of tags which should be assigned to the Lab Service Plan.
- allowed_
regions Sequence[str] The allowed regions for the lab creator to use when creating labs using this Lab Service Plan. The allowed region's count must be between
1
and28
.- resource_
group_ strname The name of the Resource Group where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- default_
auto_ Serviceshutdown Plan Default Auto Shutdown Args A
default_auto_shutdown
block as defined below.- default_
connection ServicePlan Default Connection Args A
default_connection
block as defined below.- default_
network_ strsubnet_ id The resource ID of the Subnet for the Lab Service Plan network profile.
- location str
The Azure Region where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- name str
The name of the Lab Service Plan. Changing this forces a new resource to be created.
- str
The resource ID of the Shared Image Gallery attached to this Lab Service Plan. When saving a lab template virtual machine image it will be persisted in this gallery. The shared images from the gallery can be made available to use when creating new labs.
NOTE: The built-in
Azure Lab Services
Service Principal with role needs to be assigned to the Shared Image Gallery while using this property.- support
Service
Plan Support Args A
support
block as defined below.- Mapping[str, str]
A mapping of tags which should be assigned to the Lab Service Plan.
- allowed
Regions List<String> The allowed regions for the lab creator to use when creating labs using this Lab Service Plan. The allowed region's count must be between
1
and28
.- resource
Group StringName The name of the Resource Group where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- default
Auto Property MapShutdown A
default_auto_shutdown
block as defined below.- default
Connection Property Map A
default_connection
block as defined below.- default
Network StringSubnet Id The resource ID of the Subnet for the Lab Service Plan network profile.
- location String
The Azure Region where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- name String
The name of the Lab Service Plan. Changing this forces a new resource to be created.
- String
The resource ID of the Shared Image Gallery attached to this Lab Service Plan. When saving a lab template virtual machine image it will be persisted in this gallery. The shared images from the gallery can be made available to use when creating new labs.
NOTE: The built-in
Azure Lab Services
Service Principal with role needs to be assigned to the Shared Image Gallery while using this property.- support Property Map
A
support
block as defined below.- Map<String>
A mapping of tags which should be assigned to the Lab Service Plan.
Outputs
All input properties are implicitly available as output properties. Additionally, the ServicePlan resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Id string
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
- id string
The provider-assigned unique ID for this managed resource.
- id str
The provider-assigned unique ID for this managed resource.
- id String
The provider-assigned unique ID for this managed resource.
Look up Existing ServicePlan Resource
Get an existing ServicePlan resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ServicePlanState, opts?: CustomResourceOptions): ServicePlan
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
allowed_regions: Optional[Sequence[str]] = None,
default_auto_shutdown: Optional[ServicePlanDefaultAutoShutdownArgs] = None,
default_connection: Optional[ServicePlanDefaultConnectionArgs] = None,
default_network_subnet_id: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
shared_gallery_id: Optional[str] = None,
support: Optional[ServicePlanSupportArgs] = None,
tags: Optional[Mapping[str, str]] = None) -> ServicePlan
func GetServicePlan(ctx *Context, name string, id IDInput, state *ServicePlanState, opts ...ResourceOption) (*ServicePlan, error)
public static ServicePlan Get(string name, Input<string> id, ServicePlanState? state, CustomResourceOptions? opts = null)
public static ServicePlan get(String name, Output<String> id, ServicePlanState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Allowed
Regions List<string> The allowed regions for the lab creator to use when creating labs using this Lab Service Plan. The allowed region's count must be between
1
and28
.- Default
Auto ServiceShutdown Plan Default Auto Shutdown A
default_auto_shutdown
block as defined below.- Default
Connection ServicePlan Default Connection A
default_connection
block as defined below.- Default
Network stringSubnet Id The resource ID of the Subnet for the Lab Service Plan network profile.
- Location string
The Azure Region where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- Name string
The name of the Lab Service Plan. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the Resource Group where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- string
The resource ID of the Shared Image Gallery attached to this Lab Service Plan. When saving a lab template virtual machine image it will be persisted in this gallery. The shared images from the gallery can be made available to use when creating new labs.
NOTE: The built-in
Azure Lab Services
Service Principal with role needs to be assigned to the Shared Image Gallery while using this property.- Support
Service
Plan Support A
support
block as defined below.- Dictionary<string, string>
A mapping of tags which should be assigned to the Lab Service Plan.
- Allowed
Regions []string The allowed regions for the lab creator to use when creating labs using this Lab Service Plan. The allowed region's count must be between
1
and28
.- Default
Auto ServiceShutdown Plan Default Auto Shutdown Args A
default_auto_shutdown
block as defined below.- Default
Connection ServicePlan Default Connection Args A
default_connection
block as defined below.- Default
Network stringSubnet Id The resource ID of the Subnet for the Lab Service Plan network profile.
- Location string
The Azure Region where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- Name string
The name of the Lab Service Plan. Changing this forces a new resource to be created.
- Resource
Group stringName The name of the Resource Group where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- string
The resource ID of the Shared Image Gallery attached to this Lab Service Plan. When saving a lab template virtual machine image it will be persisted in this gallery. The shared images from the gallery can be made available to use when creating new labs.
NOTE: The built-in
Azure Lab Services
Service Principal with role needs to be assigned to the Shared Image Gallery while using this property.- Support
Service
Plan Support Args A
support
block as defined below.- map[string]string
A mapping of tags which should be assigned to the Lab Service Plan.
- allowed
Regions List<String> The allowed regions for the lab creator to use when creating labs using this Lab Service Plan. The allowed region's count must be between
1
and28
.- default
Auto ServiceShutdown Plan Default Auto Shutdown A
default_auto_shutdown
block as defined below.- default
Connection ServicePlan Default Connection A
default_connection
block as defined below.- default
Network StringSubnet Id The resource ID of the Subnet for the Lab Service Plan network profile.
- location String
The Azure Region where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- name String
The name of the Lab Service Plan. Changing this forces a new resource to be created.
- resource
Group StringName The name of the Resource Group where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- String
The resource ID of the Shared Image Gallery attached to this Lab Service Plan. When saving a lab template virtual machine image it will be persisted in this gallery. The shared images from the gallery can be made available to use when creating new labs.
NOTE: The built-in
Azure Lab Services
Service Principal with role needs to be assigned to the Shared Image Gallery while using this property.- support
Service
Plan Support A
support
block as defined below.- Map<String,String>
A mapping of tags which should be assigned to the Lab Service Plan.
- allowed
Regions string[] The allowed regions for the lab creator to use when creating labs using this Lab Service Plan. The allowed region's count must be between
1
and28
.- default
Auto ServiceShutdown Plan Default Auto Shutdown A
default_auto_shutdown
block as defined below.- default
Connection ServicePlan Default Connection A
default_connection
block as defined below.- default
Network stringSubnet Id The resource ID of the Subnet for the Lab Service Plan network profile.
- location string
The Azure Region where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- name string
The name of the Lab Service Plan. Changing this forces a new resource to be created.
- resource
Group stringName The name of the Resource Group where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- string
The resource ID of the Shared Image Gallery attached to this Lab Service Plan. When saving a lab template virtual machine image it will be persisted in this gallery. The shared images from the gallery can be made available to use when creating new labs.
NOTE: The built-in
Azure Lab Services
Service Principal with role needs to be assigned to the Shared Image Gallery while using this property.- support
Service
Plan Support A
support
block as defined below.- {[key: string]: string}
A mapping of tags which should be assigned to the Lab Service Plan.
- allowed_
regions Sequence[str] The allowed regions for the lab creator to use when creating labs using this Lab Service Plan. The allowed region's count must be between
1
and28
.- default_
auto_ Serviceshutdown Plan Default Auto Shutdown Args A
default_auto_shutdown
block as defined below.- default_
connection ServicePlan Default Connection Args A
default_connection
block as defined below.- default_
network_ strsubnet_ id The resource ID of the Subnet for the Lab Service Plan network profile.
- location str
The Azure Region where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- name str
The name of the Lab Service Plan. Changing this forces a new resource to be created.
- resource_
group_ strname The name of the Resource Group where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- str
The resource ID of the Shared Image Gallery attached to this Lab Service Plan. When saving a lab template virtual machine image it will be persisted in this gallery. The shared images from the gallery can be made available to use when creating new labs.
NOTE: The built-in
Azure Lab Services
Service Principal with role needs to be assigned to the Shared Image Gallery while using this property.- support
Service
Plan Support Args A
support
block as defined below.- Mapping[str, str]
A mapping of tags which should be assigned to the Lab Service Plan.
- allowed
Regions List<String> The allowed regions for the lab creator to use when creating labs using this Lab Service Plan. The allowed region's count must be between
1
and28
.- default
Auto Property MapShutdown A
default_auto_shutdown
block as defined below.- default
Connection Property Map A
default_connection
block as defined below.- default
Network StringSubnet Id The resource ID of the Subnet for the Lab Service Plan network profile.
- location String
The Azure Region where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- name String
The name of the Lab Service Plan. Changing this forces a new resource to be created.
- resource
Group StringName The name of the Resource Group where the Lab Service Plan should exist. Changing this forces a new resource to be created.
- String
The resource ID of the Shared Image Gallery attached to this Lab Service Plan. When saving a lab template virtual machine image it will be persisted in this gallery. The shared images from the gallery can be made available to use when creating new labs.
NOTE: The built-in
Azure Lab Services
Service Principal with role needs to be assigned to the Shared Image Gallery while using this property.- support Property Map
A
support
block as defined below.- Map<String>
A mapping of tags which should be assigned to the Lab Service Plan.
Supporting Types
ServicePlanDefaultAutoShutdown, ServicePlanDefaultAutoShutdownArgs
- Disconnect
Delay string The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string.
- Idle
Delay string The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string.
- No
Connect stringDelay The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string.
- Shutdown
On stringIdle Will a VM get shutdown when it has idled for a period of time? Possible values are
LowUsage
andUserAbsence
.NOTE: This property is
None
when it isn't specified. No need to setidle_delay
whenshutdown_on_idle
isn't specified.
- Disconnect
Delay string The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string.
- Idle
Delay string The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string.
- No
Connect stringDelay The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string.
- Shutdown
On stringIdle Will a VM get shutdown when it has idled for a period of time? Possible values are
LowUsage
andUserAbsence
.NOTE: This property is
None
when it isn't specified. No need to setidle_delay
whenshutdown_on_idle
isn't specified.
- disconnect
Delay String The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string.
- idle
Delay String The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string.
- no
Connect StringDelay The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string.
- shutdown
On StringIdle Will a VM get shutdown when it has idled for a period of time? Possible values are
LowUsage
andUserAbsence
.NOTE: This property is
None
when it isn't specified. No need to setidle_delay
whenshutdown_on_idle
isn't specified.
- disconnect
Delay string The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string.
- idle
Delay string The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string.
- no
Connect stringDelay The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string.
- shutdown
On stringIdle Will a VM get shutdown when it has idled for a period of time? Possible values are
LowUsage
andUserAbsence
.NOTE: This property is
None
when it isn't specified. No need to setidle_delay
whenshutdown_on_idle
isn't specified.
- disconnect_
delay str The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string.
- idle_
delay str The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string.
- no_
connect_ strdelay The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string.
- shutdown_
on_ stridle Will a VM get shutdown when it has idled for a period of time? Possible values are
LowUsage
andUserAbsence
.NOTE: This property is
None
when it isn't specified. No need to setidle_delay
whenshutdown_on_idle
isn't specified.
- disconnect
Delay String The amount of time a VM will stay running after a user disconnects if this behavior is enabled. This value must be formatted as an ISO 8601 string.
- idle
Delay String The amount of time a VM will idle before it is shutdown if this behavior is enabled. This value must be formatted as an ISO 8601 string.
- no
Connect StringDelay The amount of time a VM will stay running before it is shutdown if no connection is made and this behavior is enabled. This value must be formatted as an ISO 8601 string.
- shutdown
On StringIdle Will a VM get shutdown when it has idled for a period of time? Possible values are
LowUsage
andUserAbsence
.NOTE: This property is
None
when it isn't specified. No need to setidle_delay
whenshutdown_on_idle
isn't specified.
ServicePlanDefaultConnection, ServicePlanDefaultConnectionArgs
- Client
Rdp stringAccess The enabled access level for Client Access over RDP. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.- Client
Ssh stringAccess The enabled access level for Client Access over SSH. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.- Web
Rdp stringAccess The enabled access level for Web Access over RDP. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.- Web
Ssh stringAccess The enabled access level for Web Access over SSH. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.
- Client
Rdp stringAccess The enabled access level for Client Access over RDP. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.- Client
Ssh stringAccess The enabled access level for Client Access over SSH. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.- Web
Rdp stringAccess The enabled access level for Web Access over RDP. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.- Web
Ssh stringAccess The enabled access level for Web Access over SSH. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.
- client
Rdp StringAccess The enabled access level for Client Access over RDP. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.- client
Ssh StringAccess The enabled access level for Client Access over SSH. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.- web
Rdp StringAccess The enabled access level for Web Access over RDP. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.- web
Ssh StringAccess The enabled access level for Web Access over SSH. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.
- client
Rdp stringAccess The enabled access level for Client Access over RDP. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.- client
Ssh stringAccess The enabled access level for Client Access over SSH. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.- web
Rdp stringAccess The enabled access level for Web Access over RDP. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.- web
Ssh stringAccess The enabled access level for Web Access over SSH. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.
- client_
rdp_ straccess The enabled access level for Client Access over RDP. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.- client_
ssh_ straccess The enabled access level for Client Access over SSH. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.- web_
rdp_ straccess The enabled access level for Web Access over RDP. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.- web_
ssh_ straccess The enabled access level for Web Access over SSH. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.
- client
Rdp StringAccess The enabled access level for Client Access over RDP. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.- client
Ssh StringAccess The enabled access level for Client Access over SSH. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.- web
Rdp StringAccess The enabled access level for Web Access over RDP. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.- web
Ssh StringAccess The enabled access level for Web Access over SSH. Possible values are
Private
andPublic
.NOTE: This property is
None
when it isn't specified.
ServicePlanSupport, ServicePlanSupportArgs
- Email string
The email address for the support contact.
- Instructions string
The instructions for users of the Lab Service Plan.
- Phone string
The phone number for the support contact.
- Url string
The web address for users of the Lab Service Plan.
- Email string
The email address for the support contact.
- Instructions string
The instructions for users of the Lab Service Plan.
- Phone string
The phone number for the support contact.
- Url string
The web address for users of the Lab Service Plan.
- email String
The email address for the support contact.
- instructions String
The instructions for users of the Lab Service Plan.
- phone String
The phone number for the support contact.
- url String
The web address for users of the Lab Service Plan.
- email string
The email address for the support contact.
- instructions string
The instructions for users of the Lab Service Plan.
- phone string
The phone number for the support contact.
- url string
The web address for users of the Lab Service Plan.
- email str
The email address for the support contact.
- instructions str
The instructions for users of the Lab Service Plan.
- phone str
The phone number for the support contact.
- url str
The web address for users of the Lab Service Plan.
- email String
The email address for the support contact.
- instructions String
The instructions for users of the Lab Service Plan.
- phone String
The phone number for the support contact.
- url String
The web address for users of the Lab Service Plan.
Import
Lab Service Plans can be imported using the resource id
, e.g.
$ pulumi import azure:lab/servicePlan:ServicePlan example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroup1/providers/Microsoft.LabServices/labPlans/labPlan1
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
azurerm
Terraform Provider.