These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
azure-native.labservices.LabAccount
Explore with Pulumi AI
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi
Represents a lab account. API Version: 2018-10-15.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:labservices:LabAccount myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labaccounts/{labAccountName}
Create LabAccount Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new LabAccount(name: string, args: LabAccountArgs, opts?: CustomResourceOptions);
@overload
def LabAccount(resource_name: str,
args: LabAccountArgs,
opts: Optional[ResourceOptions] = None)
@overload
def LabAccount(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
enabled_region_selection: Optional[bool] = None,
lab_account_name: Optional[str] = None,
location: Optional[str] = None,
provisioning_state: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
unique_identifier: Optional[str] = None)
func NewLabAccount(ctx *Context, name string, args LabAccountArgs, opts ...ResourceOption) (*LabAccount, error)
public LabAccount(string name, LabAccountArgs args, CustomResourceOptions? opts = null)
public LabAccount(String name, LabAccountArgs args)
public LabAccount(String name, LabAccountArgs args, CustomResourceOptions options)
type: azure-native:labservices:LabAccount
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 LabAccountArgs
- 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 LabAccountArgs
- 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 LabAccountArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args LabAccountArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args LabAccountArgs
- 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 labAccountResource = new AzureNative.Labservices.LabAccount("labAccountResource", new()
{
ResourceGroupName = "string",
EnabledRegionSelection = false,
LabAccountName = "string",
Location = "string",
ProvisioningState = "string",
Tags =
{
{ "string", "string" },
},
UniqueIdentifier = "string",
});
example, err := labservices.NewLabAccount(ctx, "labAccountResource", &labservices.LabAccountArgs{
ResourceGroupName: "string",
EnabledRegionSelection: false,
LabAccountName: "string",
Location: "string",
ProvisioningState: "string",
Tags: map[string]interface{}{
"string": "string",
},
UniqueIdentifier: "string",
})
var labAccountResource = new LabAccount("labAccountResource", LabAccountArgs.builder()
.resourceGroupName("string")
.enabledRegionSelection(false)
.labAccountName("string")
.location("string")
.provisioningState("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.uniqueIdentifier("string")
.build());
lab_account_resource = azure_native.labservices.LabAccount("labAccountResource",
resource_group_name=string,
enabled_region_selection=False,
lab_account_name=string,
location=string,
provisioning_state=string,
tags={
string: string,
},
unique_identifier=string)
const labAccountResource = new azure_native.labservices.LabAccount("labAccountResource", {
resourceGroupName: "string",
enabledRegionSelection: false,
labAccountName: "string",
location: "string",
provisioningState: "string",
tags: {
string: "string",
},
uniqueIdentifier: "string",
});
type: azure-native:labservices:LabAccount
properties:
enabledRegionSelection: false
labAccountName: string
location: string
provisioningState: string
resourceGroupName: string
tags:
string: string
uniqueIdentifier: string
LabAccount 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 LabAccount resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group.
- Enabled
Region boolSelection - Represents if region selection is enabled
- Lab
Account stringName - The name of the lab Account.
- Location string
- The location of the resource.
- Provisioning
State string - The provisioning status of the resource.
- Dictionary<string, string>
- The tags of the resource.
- Unique
Identifier string - The unique immutable identifier of a resource (Guid).
- Resource
Group stringName - The name of the resource group.
- Enabled
Region boolSelection - Represents if region selection is enabled
- Lab
Account stringName - The name of the lab Account.
- Location string
- The location of the resource.
- Provisioning
State string - The provisioning status of the resource.
- map[string]string
- The tags of the resource.
- Unique
Identifier string - The unique immutable identifier of a resource (Guid).
- resource
Group StringName - The name of the resource group.
- enabled
Region BooleanSelection - Represents if region selection is enabled
- lab
Account StringName - The name of the lab Account.
- location String
- The location of the resource.
- provisioning
State String - The provisioning status of the resource.
- Map<String,String>
- The tags of the resource.
- unique
Identifier String - The unique immutable identifier of a resource (Guid).
- resource
Group stringName - The name of the resource group.
- enabled
Region booleanSelection - Represents if region selection is enabled
- lab
Account stringName - The name of the lab Account.
- location string
- The location of the resource.
- provisioning
State string - The provisioning status of the resource.
- {[key: string]: string}
- The tags of the resource.
- unique
Identifier string - The unique immutable identifier of a resource (Guid).
- resource_
group_ strname - The name of the resource group.
- enabled_
region_ boolselection - Represents if region selection is enabled
- lab_
account_ strname - The name of the lab Account.
- location str
- The location of the resource.
- provisioning_
state str - The provisioning status of the resource.
- Mapping[str, str]
- The tags of the resource.
- unique_
identifier str - The unique immutable identifier of a resource (Guid).
- resource
Group StringName - The name of the resource group.
- enabled
Region BooleanSelection - Represents if region selection is enabled
- lab
Account StringName - The name of the lab Account.
- location String
- The location of the resource.
- provisioning
State String - The provisioning status of the resource.
- Map<String>
- The tags of the resource.
- unique
Identifier String - The unique immutable identifier of a resource (Guid).
Outputs
All input properties are implicitly available as output properties. Additionally, the LabAccount resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Latest
Operation Pulumi.Result Azure Native. Lab Services. Outputs. Latest Operation Result Response - The details of the latest operation. ex: status, error
- Name string
- The name of the resource.
- Size
Configuration Pulumi.Azure Native. Lab Services. Outputs. Size Configuration Properties Response - Represents the size configuration under the lab account
- Type string
- The type of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Latest
Operation LatestResult Operation Result Response - The details of the latest operation. ex: status, error
- Name string
- The name of the resource.
- Size
Configuration SizeConfiguration Properties Response - Represents the size configuration under the lab account
- Type string
- The type of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- latest
Operation LatestResult Operation Result Response - The details of the latest operation. ex: status, error
- name String
- The name of the resource.
- size
Configuration SizeConfiguration Properties Response - Represents the size configuration under the lab account
- type String
- The type of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- latest
Operation LatestResult Operation Result Response - The details of the latest operation. ex: status, error
- name string
- The name of the resource.
- size
Configuration SizeConfiguration Properties Response - Represents the size configuration under the lab account
- type string
- The type of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- latest_
operation_ Latestresult Operation Result Response - The details of the latest operation. ex: status, error
- name str
- The name of the resource.
- size_
configuration SizeConfiguration Properties Response - Represents the size configuration under the lab account
- type str
- The type of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- latest
Operation Property MapResult - The details of the latest operation. ex: status, error
- name String
- The name of the resource.
- size
Configuration Property Map - Represents the size configuration under the lab account
- type String
- The type of the resource.
Supporting Types
EnvironmentSizeResponse, EnvironmentSizeResponseArgs
- Max
Price double - The pay-as-you-go dollar price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost. This is the maximum price of all prices within this tier.
- Min
Memory double - The amount of memory available (in GB). This is the minimum amount of memory within this tier.
- Min
Number intOf Cores - The number of cores a VM of this size has. This is the minimum number of cores within this tier.
- Name string
- The size category
- Vm
Sizes List<Pulumi.Azure Native. Lab Services. Inputs. Size Info Response> - Represents a set of compute sizes that can serve this given size type
- Max
Price float64 - The pay-as-you-go dollar price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost. This is the maximum price of all prices within this tier.
- Min
Memory float64 - The amount of memory available (in GB). This is the minimum amount of memory within this tier.
- Min
Number intOf Cores - The number of cores a VM of this size has. This is the minimum number of cores within this tier.
- Name string
- The size category
- Vm
Sizes []SizeInfo Response - Represents a set of compute sizes that can serve this given size type
- max
Price Double - The pay-as-you-go dollar price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost. This is the maximum price of all prices within this tier.
- min
Memory Double - The amount of memory available (in GB). This is the minimum amount of memory within this tier.
- min
Number IntegerOf Cores - The number of cores a VM of this size has. This is the minimum number of cores within this tier.
- name String
- The size category
- vm
Sizes List<SizeInfo Response> - Represents a set of compute sizes that can serve this given size type
- max
Price number - The pay-as-you-go dollar price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost. This is the maximum price of all prices within this tier.
- min
Memory number - The amount of memory available (in GB). This is the minimum amount of memory within this tier.
- min
Number numberOf Cores - The number of cores a VM of this size has. This is the minimum number of cores within this tier.
- name string
- The size category
- vm
Sizes SizeInfo Response[] - Represents a set of compute sizes that can serve this given size type
- max_
price float - The pay-as-you-go dollar price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost. This is the maximum price of all prices within this tier.
- min_
memory float - The amount of memory available (in GB). This is the minimum amount of memory within this tier.
- min_
number_ intof_ cores - The number of cores a VM of this size has. This is the minimum number of cores within this tier.
- name str
- The size category
- vm_
sizes Sequence[SizeInfo Response] - Represents a set of compute sizes that can serve this given size type
- max
Price Number - The pay-as-you-go dollar price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost. This is the maximum price of all prices within this tier.
- min
Memory Number - The amount of memory available (in GB). This is the minimum amount of memory within this tier.
- min
Number NumberOf Cores - The number of cores a VM of this size has. This is the minimum number of cores within this tier.
- name String
- The size category
- vm
Sizes List<Property Map> - Represents a set of compute sizes that can serve this given size type
LatestOperationResultResponse, LatestOperationResultResponseArgs
- Error
Code string - Error code on failure.
- Error
Message string - The error message.
- Http
Method string - The HttpMethod - PUT/POST/DELETE for the operation.
- Operation
Url string - The URL to use to check long-running operation status
- Request
Uri string - Request URI of the operation.
- Status string
- The current status of the operation.
- Error
Code string - Error code on failure.
- Error
Message string - The error message.
- Http
Method string - The HttpMethod - PUT/POST/DELETE for the operation.
- Operation
Url string - The URL to use to check long-running operation status
- Request
Uri string - Request URI of the operation.
- Status string
- The current status of the operation.
- error
Code String - Error code on failure.
- error
Message String - The error message.
- http
Method String - The HttpMethod - PUT/POST/DELETE for the operation.
- operation
Url String - The URL to use to check long-running operation status
- request
Uri String - Request URI of the operation.
- status String
- The current status of the operation.
- error
Code string - Error code on failure.
- error
Message string - The error message.
- http
Method string - The HttpMethod - PUT/POST/DELETE for the operation.
- operation
Url string - The URL to use to check long-running operation status
- request
Uri string - Request URI of the operation.
- status string
- The current status of the operation.
- error_
code str - Error code on failure.
- error_
message str - The error message.
- http_
method str - The HttpMethod - PUT/POST/DELETE for the operation.
- operation_
url str - The URL to use to check long-running operation status
- request_
uri str - Request URI of the operation.
- status str
- The current status of the operation.
- error
Code String - Error code on failure.
- error
Message String - The error message.
- http
Method String - The HttpMethod - PUT/POST/DELETE for the operation.
- operation
Url String - The URL to use to check long-running operation status
- request
Uri String - Request URI of the operation.
- status String
- The current status of the operation.
SizeConfigurationPropertiesResponse, SizeConfigurationPropertiesResponseArgs
- Environment
Sizes List<Pulumi.Azure Native. Lab Services. Inputs. Environment Size Response> - Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
- Environment
Sizes []EnvironmentSize Response - Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
- environment
Sizes List<EnvironmentSize Response> - Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
- environment
Sizes EnvironmentSize Response[] - Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
- environment_
sizes Sequence[EnvironmentSize Response] - Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
- environment
Sizes List<Property Map> - Represents a list of size categories supported by this Lab Account (Small, Medium, Large)
SizeInfoResponse, SizeInfoResponseArgs
- Compute
Size string - Represents the actual compute size, e.g. Standard_A2_v2.
- Memory double
- The amount of memory available (in GB).
- Number
Of intCores - The number of cores a VM of this size has.
- Price double
- The pay-as-you-go price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost.
- Compute
Size string - Represents the actual compute size, e.g. Standard_A2_v2.
- Memory float64
- The amount of memory available (in GB).
- Number
Of intCores - The number of cores a VM of this size has.
- Price float64
- The pay-as-you-go price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost.
- compute
Size String - Represents the actual compute size, e.g. Standard_A2_v2.
- memory Double
- The amount of memory available (in GB).
- number
Of IntegerCores - The number of cores a VM of this size has.
- price Double
- The pay-as-you-go price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost.
- compute
Size string - Represents the actual compute size, e.g. Standard_A2_v2.
- memory number
- The amount of memory available (in GB).
- number
Of numberCores - The number of cores a VM of this size has.
- price number
- The pay-as-you-go price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost.
- compute_
size str - Represents the actual compute size, e.g. Standard_A2_v2.
- memory float
- The amount of memory available (in GB).
- number_
of_ intcores - The number of cores a VM of this size has.
- price float
- The pay-as-you-go price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost.
- compute
Size String - Represents the actual compute size, e.g. Standard_A2_v2.
- memory Number
- The amount of memory available (in GB).
- number
Of NumberCores - The number of cores a VM of this size has.
- price Number
- The pay-as-you-go price per hour this size will cost. It does not include discounts and may not reflect the actual price the size will cost.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi