Expand description
Manages an Availability Set for Virtual Machines.
§Example Usage
resources:
example:
type: azure:core:ResourceGroup
properties:
name: example-resources
location: West Europe
exampleAvailabilitySet:
type: azure:compute:AvailabilitySet
name: example
properties:
name: example-aset
location: ${example.location}
resourceGroupName: ${example.name}
tags:
environment: Production
§Import
Availability Sets can be imported using the resource id
, e.g.
$ pulumi import azure:compute/availabilitySet:AvailabilitySet group1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/Microsoft.Compute/availabilitySets/webAvailSet
Structs§
- Use builder syntax to set the inputs and finish with
build_struct()
.
Functions§
- Registers a new resource with the given unique name and arguments