compute

package
v0.16.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AvailabilitySet

type AvailabilitySet struct {
	// contains filtered or unexported fields
}

Manages an availability set for virtual machines.

func GetAvailabilitySet

func GetAvailabilitySet(ctx *pulumi.Context,
	name string, id pulumi.ID, state *AvailabilitySetState, opts ...pulumi.ResourceOpt) (*AvailabilitySet, error)

GetAvailabilitySet gets an existing AvailabilitySet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAvailabilitySet

func NewAvailabilitySet(ctx *pulumi.Context,
	name string, args *AvailabilitySetArgs, opts ...pulumi.ResourceOpt) (*AvailabilitySet, error)

NewAvailabilitySet registers a new resource with the given unique name, arguments, and options.

func (*AvailabilitySet) ID

func (r *AvailabilitySet) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*AvailabilitySet) Location

func (r *AvailabilitySet) Location() *pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (*AvailabilitySet) Managed

func (r *AvailabilitySet) Managed() *pulumi.BoolOutput

Specifies whether the availability set is managed or not. Possible values are `true` (to specify aligned) or `false` (to specify classic). Default is `false`.

func (*AvailabilitySet) Name

func (r *AvailabilitySet) Name() *pulumi.StringOutput

Specifies the name of the availability set. Changing this forces a new resource to be created.

func (*AvailabilitySet) PlatformFaultDomainCount

func (r *AvailabilitySet) PlatformFaultDomainCount() *pulumi.IntOutput

Specifies the number of fault domains that are used. Defaults to 3.

func (*AvailabilitySet) PlatformUpdateDomainCount

func (r *AvailabilitySet) PlatformUpdateDomainCount() *pulumi.IntOutput

Specifies the number of update domains that are used. Defaults to 5.

func (*AvailabilitySet) ResourceGroupName

func (r *AvailabilitySet) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which to create the availability set. Changing this forces a new resource to be created.

func (*AvailabilitySet) Tags

func (r *AvailabilitySet) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*AvailabilitySet) URN

func (r *AvailabilitySet) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type AvailabilitySetArgs

type AvailabilitySetArgs struct {
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies whether the availability set is managed or not. Possible values are `true` (to specify aligned) or `false` (to specify classic). Default is `false`.
	Managed interface{}
	// Specifies the name of the availability set. Changing this forces a new resource to be created.
	Name interface{}
	// Specifies the number of fault domains that are used. Defaults to 3.
	PlatformFaultDomainCount interface{}
	// Specifies the number of update domains that are used. Defaults to 5.
	PlatformUpdateDomainCount interface{}
	// The name of the resource group in which to create the availability set. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

The set of arguments for constructing a AvailabilitySet resource.

type AvailabilitySetState

type AvailabilitySetState struct {
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies whether the availability set is managed or not. Possible values are `true` (to specify aligned) or `false` (to specify classic). Default is `false`.
	Managed interface{}
	// Specifies the name of the availability set. Changing this forces a new resource to be created.
	Name interface{}
	// Specifies the number of fault domains that are used. Defaults to 3.
	PlatformFaultDomainCount interface{}
	// Specifies the number of update domains that are used. Defaults to 5.
	PlatformUpdateDomainCount interface{}
	// The name of the resource group in which to create the availability set. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

Input properties used for looking up and filtering AvailabilitySet resources.

type DataDiskAttachment added in v0.15.0

type DataDiskAttachment struct {
	// contains filtered or unexported fields
}

Manages attaching a Disk to a Virtual Machine.

~> **NOTE:** Data Disks can be attached either directly on the `azurerm_virtual_machine` resource, or using the `azurerm_virtual_machine_data_disk_attachment` resource - but the two cannot be used together. If both are used against the same Virtual Machine, spurious changes will occur.

-> **Please Note:** only Managed Disks are supported via this separate resource, Unmanaged Disks can be attached using the `storage_data_disk` block in the `azurerm_virtual_machine` resource.

func GetDataDiskAttachment added in v0.15.0

func GetDataDiskAttachment(ctx *pulumi.Context,
	name string, id pulumi.ID, state *DataDiskAttachmentState, opts ...pulumi.ResourceOpt) (*DataDiskAttachment, error)

GetDataDiskAttachment gets an existing DataDiskAttachment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDataDiskAttachment added in v0.15.0

func NewDataDiskAttachment(ctx *pulumi.Context,
	name string, args *DataDiskAttachmentArgs, opts ...pulumi.ResourceOpt) (*DataDiskAttachment, error)

NewDataDiskAttachment registers a new resource with the given unique name, arguments, and options.

func (*DataDiskAttachment) Caching added in v0.15.0

func (r *DataDiskAttachment) Caching() *pulumi.StringOutput

Specifies the caching requirements for this Data Disk. Possible values include `None`, `ReadOnly` and `ReadWrite`.

func (*DataDiskAttachment) CreateOption added in v0.15.0

func (r *DataDiskAttachment) CreateOption() *pulumi.StringOutput

The Create Option of the Data Disk, such as `Empty` or `Attach`. Defaults to `Attach`. Changing this forces a new resource to be created.

func (*DataDiskAttachment) ID added in v0.15.0

ID is this resource's unique identifier assigned by its provider.

func (*DataDiskAttachment) Lun added in v0.15.0

The Logical Unit Number of the Data Disk, which needs to be unique within the Virtual Machine. Changing this forces a new resource to be created.

func (*DataDiskAttachment) ManagedDiskId added in v0.15.0

func (r *DataDiskAttachment) ManagedDiskId() *pulumi.StringOutput

The ID of an existing Managed Disk which should be attached. Changing this forces a new resource to be created.

func (*DataDiskAttachment) URN added in v0.15.0

URN is this resource's unique name assigned by Pulumi.

func (*DataDiskAttachment) VirtualMachineId added in v0.15.0

func (r *DataDiskAttachment) VirtualMachineId() *pulumi.StringOutput

The ID of the Virtual Machine to which the Data Disk should be attached. Changing this forces a new resource to be created.

func (*DataDiskAttachment) WriteAcceleratorEnabled added in v0.15.0

func (r *DataDiskAttachment) WriteAcceleratorEnabled() *pulumi.BoolOutput

Specifies if Write Accelerator is enabled on the disk. This can only be enabled on `Premium_LRS` managed disks with no caching and [M-Series VMs](https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/how-to-enable-write-accelerator). Defaults to `false`.

type DataDiskAttachmentArgs added in v0.15.0

type DataDiskAttachmentArgs struct {
	// Specifies the caching requirements for this Data Disk. Possible values include `None`, `ReadOnly` and `ReadWrite`.
	Caching interface{}
	// The Create Option of the Data Disk, such as `Empty` or `Attach`. Defaults to `Attach`. Changing this forces a new resource to be created.
	CreateOption interface{}
	// The Logical Unit Number of the Data Disk, which needs to be unique within the Virtual Machine. Changing this forces a new resource to be created.
	Lun interface{}
	// The ID of an existing Managed Disk which should be attached. Changing this forces a new resource to be created.
	ManagedDiskId interface{}
	// The ID of the Virtual Machine to which the Data Disk should be attached. Changing this forces a new resource to be created.
	VirtualMachineId interface{}
	// Specifies if Write Accelerator is enabled on the disk. This can only be enabled on `Premium_LRS` managed disks with no caching and [M-Series VMs](https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/how-to-enable-write-accelerator). Defaults to `false`.
	WriteAcceleratorEnabled interface{}
}

The set of arguments for constructing a DataDiskAttachment resource.

type DataDiskAttachmentState added in v0.15.0

type DataDiskAttachmentState struct {
	// Specifies the caching requirements for this Data Disk. Possible values include `None`, `ReadOnly` and `ReadWrite`.
	Caching interface{}
	// The Create Option of the Data Disk, such as `Empty` or `Attach`. Defaults to `Attach`. Changing this forces a new resource to be created.
	CreateOption interface{}
	// The Logical Unit Number of the Data Disk, which needs to be unique within the Virtual Machine. Changing this forces a new resource to be created.
	Lun interface{}
	// The ID of an existing Managed Disk which should be attached. Changing this forces a new resource to be created.
	ManagedDiskId interface{}
	// The ID of the Virtual Machine to which the Data Disk should be attached. Changing this forces a new resource to be created.
	VirtualMachineId interface{}
	// Specifies if Write Accelerator is enabled on the disk. This can only be enabled on `Premium_LRS` managed disks with no caching and [M-Series VMs](https://docs.microsoft.com/en-us/azure/virtual-machines/workloads/sap/how-to-enable-write-accelerator). Defaults to `false`.
	WriteAcceleratorEnabled interface{}
}

Input properties used for looking up and filtering DataDiskAttachment resources.

type Extension

type Extension struct {
	// contains filtered or unexported fields
}

Manages a Virtual Machine Extension to provide post deployment configuration and run automated tasks.

~> **NOTE:** Custom Script Extensions for Linux & Windows require that the `commandToExecute` returns a `0` exit code to be classified as successfully deployed. You can achieve this by appending `exit 0` to the end of your `commandToExecute`.

-> **NOTE:** Custom Script Extensions require that the Azure Virtual Machine Guest Agent is running on the Virtual Machine.

func GetExtension

func GetExtension(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ExtensionState, opts ...pulumi.ResourceOpt) (*Extension, error)

GetExtension gets an existing Extension resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewExtension

func NewExtension(ctx *pulumi.Context,
	name string, args *ExtensionArgs, opts ...pulumi.ResourceOpt) (*Extension, error)

NewExtension registers a new resource with the given unique name, arguments, and options.

func (*Extension) AutoUpgradeMinorVersion

func (r *Extension) AutoUpgradeMinorVersion() *pulumi.BoolOutput

Specifies if the platform deploys the latest minor version update to the `type_handler_version` specified.

func (*Extension) ID

func (r *Extension) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Extension) Location

func (r *Extension) Location() *pulumi.StringOutput

The location where the extension is created. Changing this forces a new resource to be created.

func (*Extension) Name

func (r *Extension) Name() *pulumi.StringOutput

The name of the virtual machine extension peering. Changing this forces a new resource to be created.

func (*Extension) ProtectedSettings

func (r *Extension) ProtectedSettings() *pulumi.StringOutput

The protected_settings passed to the extension, like settings, these are specified as a JSON object in a string.

func (*Extension) Publisher

func (r *Extension) Publisher() *pulumi.StringOutput

The publisher of the extension, available publishers can be found by using the Azure CLI.

func (*Extension) ResourceGroupName

func (r *Extension) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which to create the virtual network. Changing this forces a new resource to be created.

func (*Extension) Settings

func (r *Extension) Settings() *pulumi.StringOutput

The settings passed to the extension, these are specified as a JSON object in a string.

func (*Extension) Tags

func (r *Extension) Tags() *pulumi.MapOutput

func (*Extension) Type

func (r *Extension) Type() *pulumi.StringOutput

The type of extension, available types for a publisher can be found using the Azure CLI.

func (*Extension) TypeHandlerVersion

func (r *Extension) TypeHandlerVersion() *pulumi.StringOutput

Specifies the version of the extension to use, available versions can be found using the Azure CLI.

func (*Extension) URN

func (r *Extension) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*Extension) VirtualMachineName

func (r *Extension) VirtualMachineName() *pulumi.StringOutput

The name of the virtual machine. Changing this forces a new resource to be created.

type ExtensionArgs

type ExtensionArgs struct {
	// Specifies if the platform deploys
	// the latest minor version update to the `type_handler_version` specified.
	AutoUpgradeMinorVersion interface{}
	// The location where the extension is created. Changing
	// this forces a new resource to be created.
	Location interface{}
	// The name of the virtual machine extension peering. Changing
	// this forces a new resource to be created.
	Name interface{}
	// The protected_settings passed to the
	// extension, like settings, these are specified as a JSON object in a string.
	ProtectedSettings interface{}
	// The publisher of the extension, available publishers
	// can be found by using the Azure CLI.
	Publisher interface{}
	// The name of the resource group in which to
	// create the virtual network. Changing this forces a new resource to be
	// created.
	ResourceGroupName interface{}
	// The settings passed to the extension, these are
	// specified as a JSON object in a string.
	Settings interface{}
	Tags     interface{}
	// The type of extension, available types for a publisher can
	// be found using the Azure CLI.
	Type interface{}
	// Specifies the version of the extension to
	// use, available versions can be found using the Azure CLI.
	TypeHandlerVersion interface{}
	// The name of the virtual machine. Changing
	// this forces a new resource to be created.
	VirtualMachineName interface{}
}

The set of arguments for constructing a Extension resource.

type ExtensionState

type ExtensionState struct {
	// Specifies if the platform deploys
	// the latest minor version update to the `type_handler_version` specified.
	AutoUpgradeMinorVersion interface{}
	// The location where the extension is created. Changing
	// this forces a new resource to be created.
	Location interface{}
	// The name of the virtual machine extension peering. Changing
	// this forces a new resource to be created.
	Name interface{}
	// The protected_settings passed to the
	// extension, like settings, these are specified as a JSON object in a string.
	ProtectedSettings interface{}
	// The publisher of the extension, available publishers
	// can be found by using the Azure CLI.
	Publisher interface{}
	// The name of the resource group in which to
	// create the virtual network. Changing this forces a new resource to be
	// created.
	ResourceGroupName interface{}
	// The settings passed to the extension, these are
	// specified as a JSON object in a string.
	Settings interface{}
	Tags     interface{}
	// The type of extension, available types for a publisher can
	// be found using the Azure CLI.
	Type interface{}
	// Specifies the version of the extension to
	// use, available versions can be found using the Azure CLI.
	TypeHandlerVersion interface{}
	// The name of the virtual machine. Changing
	// this forces a new resource to be created.
	VirtualMachineName interface{}
}

Input properties used for looking up and filtering Extension resources.

type GetImageArgs

type GetImageArgs struct {
	// The name of the Image.
	Name interface{}
	// Regex pattern of the image to match.
	NameRegex interface{}
	// The Name of the Resource Group where this Image exists.
	ResourceGroupName interface{}
	// By default when matching by regex, images are sorted by name in ascending order and the first match is chosen, to sort descending, set this flag.
	SortDescending interface{}
}

A collection of arguments for invoking getImage.

type GetImageResult

type GetImageResult struct {
	// a collection of `data_disk` blocks as defined below.
	DataDisks interface{}
	// the Azure Location where this Image exists.
	Location interface{}
	// a `os_disk` block as defined below.
	OsDisks interface{}
	// a mapping of tags to assigned to the resource.
	Tags interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getImage.

func LookupImage

func LookupImage(ctx *pulumi.Context, args *GetImageArgs) (*GetImageResult, error)

Use this data source to access information about an Image.

type GetManagedDiskArgs

type GetManagedDiskArgs struct {
	// Specifies the name of the Managed Disk.
	Name interface{}
	// Specifies the name of the resource group.
	ResourceGroupName interface{}
	Tags              interface{}
	Zones             interface{}
}

A collection of arguments for invoking getManagedDisk.

type GetManagedDiskResult

type GetManagedDiskResult struct {
	// The size of the managed disk in gigabytes.
	DiskSizeGb interface{}
	// The operating system for managed disk. Valid values are `Linux` or `Windows`
	OsType interface{}
	// ID of an existing managed disk that the current resource was created from.
	SourceResourceId interface{}
	// The source URI for the managed disk
	SourceUri interface{}
	// The storage account type for the managed disk.
	StorageAccountType interface{}
	// A mapping of tags assigned to the resource.
	Tags interface{}
	// (Optional) A collection containing the availability zone the managed disk is allocated in.
	Zones interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getManagedDisk.

func LookupManagedDisk

func LookupManagedDisk(ctx *pulumi.Context, args *GetManagedDiskArgs) (*GetManagedDiskResult, error)

Use this data source to access the properties of an existing Azure Managed Disk.

type GetPlatformImageArgs

type GetPlatformImageArgs struct {
	// Specifies the Location to pull information about this Platform Image from.
	Location interface{}
	// Specifies the Offer associated with the Platform Image.
	Offer interface{}
	// Specifies the Publisher associated with the Platform Image.
	Publisher interface{}
	// Specifies the SKU of the Platform Image.
	Sku interface{}
}

A collection of arguments for invoking getPlatformImage.

type GetPlatformImageResult

type GetPlatformImageResult struct {
	// The latest version of the Platform Image.
	Version interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getPlatformImage.

func LookupPlatformImage

func LookupPlatformImage(ctx *pulumi.Context, args *GetPlatformImageArgs) (*GetPlatformImageResult, error)

Use this data source to access the properties of an Azure Platform Image.

type GetSnapshotArgs

type GetSnapshotArgs struct {
	// Specifies the name of the Snapshot.
	Name interface{}
	// Specifies the name of the resource group the Snapshot is located in.
	ResourceGroupName interface{}
}

A collection of arguments for invoking getSnapshot.

type GetSnapshotResult

type GetSnapshotResult struct {
	CreationOption interface{}
	// The size of the Snapshotted Disk in GB.
	DiskSizeGb         interface{}
	EncryptionSettings interface{}
	OsType             interface{}
	// The reference to an existing snapshot.
	SourceResourceId interface{}
	// The URI to a Managed or Unmanaged Disk.
	SourceUri interface{}
	// The ID of an storage account.
	StorageAccountId interface{}
	TimeCreated      interface{}
	// id is the provider-assigned unique ID for this managed resource.
	Id interface{}
}

A collection of values returned by getSnapshot.

func LookupSnapshot

func LookupSnapshot(ctx *pulumi.Context, args *GetSnapshotArgs) (*GetSnapshotResult, error)

Use this data source to access the properties of a Snapshot of an Disk.

type Image

type Image struct {
	// contains filtered or unexported fields
}

Manage a custom virtual machine image that can be used to create virtual machines.

func GetImage

func GetImage(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ImageState, opts ...pulumi.ResourceOpt) (*Image, error)

GetImage gets an existing Image resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewImage

func NewImage(ctx *pulumi.Context,
	name string, args *ImageArgs, opts ...pulumi.ResourceOpt) (*Image, error)

NewImage registers a new resource with the given unique name, arguments, and options.

func (*Image) DataDisks

func (r *Image) DataDisks() *pulumi.ArrayOutput

One or more `data_disk` elements as defined below.

func (*Image) ID

func (r *Image) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Image) Location

func (r *Image) Location() *pulumi.StringOutput

Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (*Image) Name

func (r *Image) Name() *pulumi.StringOutput

Specifies the name of the image. Changing this forces a new resource to be created.

func (*Image) OsDisk

func (r *Image) OsDisk() *pulumi.Output

One or more `os_disk` elements as defined below.

func (*Image) ResourceGroupName

func (r *Image) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which to create the image. Changing this forces a new resource to be created.

func (*Image) SourceVirtualMachineId

func (r *Image) SourceVirtualMachineId() *pulumi.StringOutput

The Virtual Machine ID from which to create the image.

func (*Image) Tags

func (r *Image) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*Image) URN

func (r *Image) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type ImageArgs

type ImageArgs struct {
	// One or more `data_disk` elements as defined below.
	DataDisks interface{}
	// Specified the supported Azure location where the resource exists.
	// Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the image. Changing this forces a
	// new resource to be created.
	Name interface{}
	// One or more `os_disk` elements as defined below.
	OsDisk interface{}
	// The name of the resource group in which to create
	// the image. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// The Virtual Machine ID from which to create the image.
	SourceVirtualMachineId interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

The set of arguments for constructing a Image resource.

type ImageState

type ImageState struct {
	// One or more `data_disk` elements as defined below.
	DataDisks interface{}
	// Specified the supported Azure location where the resource exists.
	// Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the image. Changing this forces a
	// new resource to be created.
	Name interface{}
	// One or more `os_disk` elements as defined below.
	OsDisk interface{}
	// The name of the resource group in which to create
	// the image. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// The Virtual Machine ID from which to create the image.
	SourceVirtualMachineId interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
}

Input properties used for looking up and filtering Image resources.

type ManagedDisk

type ManagedDisk struct {
	// contains filtered or unexported fields
}

Manage a managed disk.

func GetManagedDisk

func GetManagedDisk(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ManagedDiskState, opts ...pulumi.ResourceOpt) (*ManagedDisk, error)

GetManagedDisk gets an existing ManagedDisk resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewManagedDisk

func NewManagedDisk(ctx *pulumi.Context,
	name string, args *ManagedDiskArgs, opts ...pulumi.ResourceOpt) (*ManagedDisk, error)

NewManagedDisk registers a new resource with the given unique name, arguments, and options.

func (*ManagedDisk) CreateOption

func (r *ManagedDisk) CreateOption() *pulumi.StringOutput

The method to use when creating the managed disk. Possible values include:

func (*ManagedDisk) DiskSizeGb

func (r *ManagedDisk) DiskSizeGb() *pulumi.IntOutput

Specifies the size of the managed disk to create in gigabytes. If `create_option` is `Copy` or `FromImage`, then the value must be equal to or greater than the source's size.

func (*ManagedDisk) EncryptionSettings

func (r *ManagedDisk) EncryptionSettings() *pulumi.Output

an `encryption_settings` block as defined below.

func (*ManagedDisk) ID

func (r *ManagedDisk) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*ManagedDisk) ImageReferenceId

func (r *ManagedDisk) ImageReferenceId() *pulumi.StringOutput

ID of an existing platform/marketplace disk image to copy when `create_option` is `FromImage`.

func (*ManagedDisk) Location

func (r *ManagedDisk) Location() *pulumi.StringOutput

Specified the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (*ManagedDisk) Name

func (r *ManagedDisk) Name() *pulumi.StringOutput

Specifies the name of the managed disk. Changing this forces a new resource to be created.

func (*ManagedDisk) OsType

func (r *ManagedDisk) OsType() *pulumi.StringOutput

Specify a value when the source of an `Import` or `Copy` operation targets a source that contains an operating system. Valid values are `Linux` or `Windows`

func (*ManagedDisk) ResourceGroupName

func (r *ManagedDisk) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which to create the managed disk.

func (*ManagedDisk) SourceResourceId

func (r *ManagedDisk) SourceResourceId() *pulumi.StringOutput

ID of an existing managed disk to copy when `create_option` is `Copy`.

func (*ManagedDisk) SourceUri

func (r *ManagedDisk) SourceUri() *pulumi.StringOutput

URI to a valid VHD file to be used when `create_option` is `Import`.

func (*ManagedDisk) StorageAccountType

func (r *ManagedDisk) StorageAccountType() *pulumi.StringOutput

The type of storage to use for the managed disk. Allowable values are `Standard_LRS` or `Premium_LRS`.

func (*ManagedDisk) Tags

func (r *ManagedDisk) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*ManagedDisk) URN

func (r *ManagedDisk) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*ManagedDisk) Zones

func (r *ManagedDisk) Zones() *pulumi.StringOutput

A collection containing the availability zone to allocate the Managed Disk in.

type ManagedDiskArgs

type ManagedDiskArgs struct {
	// The method to use when creating the managed disk. Possible values include:
	CreateOption interface{}
	// Specifies the size of the managed disk to create in gigabytes.
	// If `create_option` is `Copy` or `FromImage`, then the value must be equal to or greater than the source's size.
	DiskSizeGb interface{}
	// an `encryption_settings` block as defined below.
	EncryptionSettings interface{}
	// ID of an existing platform/marketplace disk image to copy when `create_option` is `FromImage`.
	ImageReferenceId interface{}
	// Specified the supported Azure location where the resource exists.
	// Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the managed disk. Changing this forces a
	// new resource to be created.
	Name interface{}
	// Specify a value when the source of an `Import` or `Copy`
	// operation targets a source that contains an operating system. Valid values are `Linux` or `Windows`
	OsType interface{}
	// The name of the resource group in which to create
	// the managed disk.
	ResourceGroupName interface{}
	// ID of an existing managed disk to copy when `create_option` is `Copy`.
	SourceResourceId interface{}
	// URI to a valid VHD file to be used when `create_option` is `Import`.
	SourceUri interface{}
	// The type of storage to use for the managed disk.
	// Allowable values are `Standard_LRS` or `Premium_LRS`.
	StorageAccountType interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// A collection containing the availability zone to allocate the Managed Disk in.
	Zones interface{}
}

The set of arguments for constructing a ManagedDisk resource.

type ManagedDiskState

type ManagedDiskState struct {
	// The method to use when creating the managed disk. Possible values include:
	CreateOption interface{}
	// Specifies the size of the managed disk to create in gigabytes.
	// If `create_option` is `Copy` or `FromImage`, then the value must be equal to or greater than the source's size.
	DiskSizeGb interface{}
	// an `encryption_settings` block as defined below.
	EncryptionSettings interface{}
	// ID of an existing platform/marketplace disk image to copy when `create_option` is `FromImage`.
	ImageReferenceId interface{}
	// Specified the supported Azure location where the resource exists.
	// Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the managed disk. Changing this forces a
	// new resource to be created.
	Name interface{}
	// Specify a value when the source of an `Import` or `Copy`
	// operation targets a source that contains an operating system. Valid values are `Linux` or `Windows`
	OsType interface{}
	// The name of the resource group in which to create
	// the managed disk.
	ResourceGroupName interface{}
	// ID of an existing managed disk to copy when `create_option` is `Copy`.
	SourceResourceId interface{}
	// URI to a valid VHD file to be used when `create_option` is `Import`.
	SourceUri interface{}
	// The type of storage to use for the managed disk.
	// Allowable values are `Standard_LRS` or `Premium_LRS`.
	StorageAccountType interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// A collection containing the availability zone to allocate the Managed Disk in.
	Zones interface{}
}

Input properties used for looking up and filtering ManagedDisk resources.

type ScaleSet

type ScaleSet struct {
	// contains filtered or unexported fields
}

Manage a virtual machine scale set.

~> **Note:** All arguments including the administrator login and password will be stored in the raw state as plain-text. [Read more about sensitive data in state](https://www.terraform.io/docs/state/sensitive-data.html).

func GetScaleSet

func GetScaleSet(ctx *pulumi.Context,
	name string, id pulumi.ID, state *ScaleSetState, opts ...pulumi.ResourceOpt) (*ScaleSet, error)

GetScaleSet gets an existing ScaleSet resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewScaleSet

func NewScaleSet(ctx *pulumi.Context,
	name string, args *ScaleSetArgs, opts ...pulumi.ResourceOpt) (*ScaleSet, error)

NewScaleSet registers a new resource with the given unique name, arguments, and options.

func (*ScaleSet) BootDiagnostics

func (r *ScaleSet) BootDiagnostics() *pulumi.Output

A boot diagnostics profile block as referenced below.

func (*ScaleSet) Extensions

func (r *ScaleSet) Extensions() *pulumi.ArrayOutput

Can be specified multiple times to add extension profiles to the scale set. Each `extension` block supports the fields documented below.

func (*ScaleSet) ID

func (r *ScaleSet) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*ScaleSet) Identity

func (r *ScaleSet) Identity() *pulumi.Output

func (*ScaleSet) LicenseType

func (r *ScaleSet) LicenseType() *pulumi.StringOutput

Specifies the Windows OS license type. If supplied, the only allowed values are `Windows_Client` and `Windows_Server`.

func (*ScaleSet) Location

func (r *ScaleSet) Location() *pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (*ScaleSet) Name

func (r *ScaleSet) Name() *pulumi.StringOutput

Specifies the name of the image from the marketplace.

func (*ScaleSet) NetworkProfiles

func (r *ScaleSet) NetworkProfiles() *pulumi.ArrayOutput

A collection of network profile block as documented below.

func (*ScaleSet) OsProfile

func (r *ScaleSet) OsProfile() *pulumi.Output

A Virtual Machine OS Profile block as documented below.

func (*ScaleSet) OsProfileLinuxConfig

func (r *ScaleSet) OsProfileLinuxConfig() *pulumi.Output

A Linux config block as documented below.

func (*ScaleSet) OsProfileSecrets

func (r *ScaleSet) OsProfileSecrets() *pulumi.ArrayOutput

A collection of Secret blocks as documented below.

func (*ScaleSet) OsProfileWindowsConfig

func (r *ScaleSet) OsProfileWindowsConfig() *pulumi.Output

A Windows config block as documented below.

func (*ScaleSet) Overprovision

func (r *ScaleSet) Overprovision() *pulumi.BoolOutput

Specifies whether the virtual machine scale set should be overprovisioned. Defaults to `true`.

func (*ScaleSet) Plan

func (r *ScaleSet) Plan() *pulumi.Output

A plan block as documented below.

func (*ScaleSet) Priority

func (r *ScaleSet) Priority() *pulumi.StringOutput

Specifies the priority for the virtual machines in the scale set, defaults to `Regular`. Possible values are `Low` and `Regular`.

func (*ScaleSet) ResourceGroupName

func (r *ScaleSet) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which to create the virtual machine scale set. Changing this forces a new resource to be created.

func (*ScaleSet) SinglePlacementGroup

func (r *ScaleSet) SinglePlacementGroup() *pulumi.BoolOutput

Specifies whether the scale set is limited to a single placement group with a maximum size of 100 virtual machines. If set to false, managed disks must be used. Defaults to `true`. Changing this forces a new resource to be created. See [documentation](http://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-placement-groups) for more information.

func (*ScaleSet) Sku

func (r *ScaleSet) Sku() *pulumi.Output

Specifies the SKU of the image used to create the virtual machines.

func (*ScaleSet) StorageProfileDataDisks

func (r *ScaleSet) StorageProfileDataDisks() *pulumi.ArrayOutput

A storage profile data disk block as documented below

func (*ScaleSet) StorageProfileImageReference

func (r *ScaleSet) StorageProfileImageReference() *pulumi.Output

A storage profile image reference block as documented below.

func (*ScaleSet) StorageProfileOsDisk

func (r *ScaleSet) StorageProfileOsDisk() *pulumi.Output

A storage profile os disk block as documented below

func (*ScaleSet) Tags

func (r *ScaleSet) Tags() *pulumi.MapOutput

A mapping of tags to assign to the resource.

func (*ScaleSet) URN

func (r *ScaleSet) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*ScaleSet) UpgradePolicyMode

func (r *ScaleSet) UpgradePolicyMode() *pulumi.StringOutput

Specifies the mode of an upgrade to virtual machines in the scale set. Possible values, `Manual` or `Automatic`.

func (*ScaleSet) Zones

func (r *ScaleSet) Zones() *pulumi.ArrayOutput

A collection of availability zones to spread the Virtual Machines over.

type ScaleSetArgs

type ScaleSetArgs struct {
	// A boot diagnostics profile block as referenced below.
	BootDiagnostics interface{}
	// Can be specified multiple times to add extension profiles to the scale set. Each `extension` block supports the fields documented below.
	Extensions interface{}
	Identity   interface{}
	// Specifies the Windows OS license type. If supplied, the only allowed values are `Windows_Client` and `Windows_Server`.
	LicenseType interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the image from the marketplace.
	Name interface{}
	// A collection of network profile block as documented below.
	NetworkProfiles interface{}
	// A Virtual Machine OS Profile block as documented below.
	OsProfile interface{}
	// A Linux config block as documented below.
	OsProfileLinuxConfig interface{}
	// A collection of Secret blocks as documented below.
	OsProfileSecrets interface{}
	// A Windows config block as documented below.
	OsProfileWindowsConfig interface{}
	// Specifies whether the virtual machine scale set should be overprovisioned. Defaults to `true`.
	Overprovision interface{}
	// A plan block as documented below.
	Plan interface{}
	// Specifies the priority for the virtual machines in the scale set, defaults to `Regular`. Possible values are `Low` and `Regular`.
	Priority interface{}
	// The name of the resource group in which to create the virtual machine scale set. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies whether the scale set is limited to a single placement group with a maximum size of 100 virtual machines. If set to false, managed disks must be used. Defaults to `true`. Changing this forces a
	// new resource to be created. See [documentation](http://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-placement-groups) for more information.
	SinglePlacementGroup interface{}
	// Specifies the SKU of the image used to create the virtual machines.
	Sku interface{}
	// A storage profile data disk block as documented below
	StorageProfileDataDisks interface{}
	// A storage profile image reference block as documented below.
	StorageProfileImageReference interface{}
	// A storage profile os disk block as documented below
	StorageProfileOsDisk interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// Specifies the mode of an upgrade to virtual machines in the scale set. Possible values, `Manual` or `Automatic`.
	UpgradePolicyMode interface{}
	// A collection of availability zones to spread the Virtual Machines over.
	Zones interface{}
}

The set of arguments for constructing a ScaleSet resource.

type ScaleSetState

type ScaleSetState struct {
	// A boot diagnostics profile block as referenced below.
	BootDiagnostics interface{}
	// Can be specified multiple times to add extension profiles to the scale set. Each `extension` block supports the fields documented below.
	Extensions interface{}
	Identity   interface{}
	// Specifies the Windows OS license type. If supplied, the only allowed values are `Windows_Client` and `Windows_Server`.
	LicenseType interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the image from the marketplace.
	Name interface{}
	// A collection of network profile block as documented below.
	NetworkProfiles interface{}
	// A Virtual Machine OS Profile block as documented below.
	OsProfile interface{}
	// A Linux config block as documented below.
	OsProfileLinuxConfig interface{}
	// A collection of Secret blocks as documented below.
	OsProfileSecrets interface{}
	// A Windows config block as documented below.
	OsProfileWindowsConfig interface{}
	// Specifies whether the virtual machine scale set should be overprovisioned. Defaults to `true`.
	Overprovision interface{}
	// A plan block as documented below.
	Plan interface{}
	// Specifies the priority for the virtual machines in the scale set, defaults to `Regular`. Possible values are `Low` and `Regular`.
	Priority interface{}
	// The name of the resource group in which to create the virtual machine scale set. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies whether the scale set is limited to a single placement group with a maximum size of 100 virtual machines. If set to false, managed disks must be used. Defaults to `true`. Changing this forces a
	// new resource to be created. See [documentation](http://docs.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-placement-groups) for more information.
	SinglePlacementGroup interface{}
	// Specifies the SKU of the image used to create the virtual machines.
	Sku interface{}
	// A storage profile data disk block as documented below
	StorageProfileDataDisks interface{}
	// A storage profile image reference block as documented below.
	StorageProfileImageReference interface{}
	// A storage profile os disk block as documented below
	StorageProfileOsDisk interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// Specifies the mode of an upgrade to virtual machines in the scale set. Possible values, `Manual` or `Automatic`.
	UpgradePolicyMode interface{}
	// A collection of availability zones to spread the Virtual Machines over.
	Zones interface{}
}

Input properties used for looking up and filtering ScaleSet resources.

type Snapshot

type Snapshot struct {
	// contains filtered or unexported fields
}

Manages a Disk Snapshot.

func GetSnapshot

func GetSnapshot(ctx *pulumi.Context,
	name string, id pulumi.ID, state *SnapshotState, opts ...pulumi.ResourceOpt) (*Snapshot, error)

GetSnapshot gets an existing Snapshot resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSnapshot

func NewSnapshot(ctx *pulumi.Context,
	name string, args *SnapshotArgs, opts ...pulumi.ResourceOpt) (*Snapshot, error)

NewSnapshot registers a new resource with the given unique name, arguments, and options.

func (*Snapshot) CreateOption

func (r *Snapshot) CreateOption() *pulumi.StringOutput

Indicates how the snapshot is to be created. Possible values are `Copy` or `Import`. Changing this forces a new resource to be created.

func (*Snapshot) DiskSizeGb

func (r *Snapshot) DiskSizeGb() *pulumi.IntOutput

The size of the Snapshotted Disk in GB.

func (*Snapshot) EncryptionSettings

func (r *Snapshot) EncryptionSettings() *pulumi.Output

func (*Snapshot) ID

func (r *Snapshot) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*Snapshot) Location

func (r *Snapshot) Location() *pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (*Snapshot) Name

func (r *Snapshot) Name() *pulumi.StringOutput

Specifies the name of the Snapshot resource. Changing this forces a new resource to be created.

func (*Snapshot) ResourceGroupName

func (r *Snapshot) ResourceGroupName() *pulumi.StringOutput

The name of the resource group in which to create the Snapshot. Changing this forces a new resource to be created.

func (*Snapshot) SourceResourceId

func (r *Snapshot) SourceResourceId() *pulumi.StringOutput

Specifies a reference to an existing snapshot, when `create_option` is `Copy`. Changing this forces a new resource to be created.

func (*Snapshot) SourceUri

func (r *Snapshot) SourceUri() *pulumi.StringOutput

Specifies the URI to a Managed or Unmanaged Disk. Changing this forces a new resource to be created.

func (*Snapshot) StorageAccountId

func (r *Snapshot) StorageAccountId() *pulumi.StringOutput

Specifies the ID of an storage account. Used with `source_uri` to allow authorization during import of unmanaged blobs from a different subscription. Changing this forces a new resource to be created.

func (*Snapshot) Tags

func (r *Snapshot) Tags() *pulumi.MapOutput

func (*Snapshot) URN

func (r *Snapshot) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

type SnapshotArgs

type SnapshotArgs struct {
	// Indicates how the snapshot is to be created. Possible values are `Copy` or `Import`. Changing this forces a new resource to be created.
	CreateOption interface{}
	// The size of the Snapshotted Disk in GB.
	DiskSizeGb         interface{}
	EncryptionSettings interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the Snapshot resource. Changing this forces a new resource to be created.
	Name interface{}
	// The name of the resource group in which to create the Snapshot. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies a reference to an existing snapshot, when `create_option` is `Copy`. Changing this forces a new resource to be created.
	SourceResourceId interface{}
	// Specifies the URI to a Managed or Unmanaged Disk. Changing this forces a new resource to be created.
	SourceUri interface{}
	// Specifies the ID of an storage account. Used with `source_uri` to allow authorization during import of unmanaged blobs from a different subscription. Changing this forces a new resource to be created.
	StorageAccountId interface{}
	Tags             interface{}
}

The set of arguments for constructing a Snapshot resource.

type SnapshotState

type SnapshotState struct {
	// Indicates how the snapshot is to be created. Possible values are `Copy` or `Import`. Changing this forces a new resource to be created.
	CreateOption interface{}
	// The size of the Snapshotted Disk in GB.
	DiskSizeGb         interface{}
	EncryptionSettings interface{}
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the Snapshot resource. Changing this forces a new resource to be created.
	Name interface{}
	// The name of the resource group in which to create the Snapshot. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// Specifies a reference to an existing snapshot, when `create_option` is `Copy`. Changing this forces a new resource to be created.
	SourceResourceId interface{}
	// Specifies the URI to a Managed or Unmanaged Disk. Changing this forces a new resource to be created.
	SourceUri interface{}
	// Specifies the ID of an storage account. Used with `source_uri` to allow authorization during import of unmanaged blobs from a different subscription. Changing this forces a new resource to be created.
	StorageAccountId interface{}
	Tags             interface{}
}

Input properties used for looking up and filtering Snapshot resources.

type VirtualMachine

type VirtualMachine struct {
	// contains filtered or unexported fields
}

Manages a Virtual Machine.

~> **NOTE:** Data Disks can be attached either directly on the `azurerm_virtual_machine` resource, or using the `azurerm_virtual_machine_data_disk_attachment` resource - but the two cannot be used together. If both are used against the same Virtual Machine, spurious changes will occur.

func GetVirtualMachine

func GetVirtualMachine(ctx *pulumi.Context,
	name string, id pulumi.ID, state *VirtualMachineState, opts ...pulumi.ResourceOpt) (*VirtualMachine, error)

GetVirtualMachine gets an existing VirtualMachine resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewVirtualMachine

func NewVirtualMachine(ctx *pulumi.Context,
	name string, args *VirtualMachineArgs, opts ...pulumi.ResourceOpt) (*VirtualMachine, error)

NewVirtualMachine registers a new resource with the given unique name, arguments, and options.

func (*VirtualMachine) AvailabilitySetId

func (r *VirtualMachine) AvailabilitySetId() *pulumi.StringOutput

The ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.

func (*VirtualMachine) BootDiagnostics

func (r *VirtualMachine) BootDiagnostics() *pulumi.Output

A `boot_diagnostics` block.

func (*VirtualMachine) DeleteDataDisksOnTermination

func (r *VirtualMachine) DeleteDataDisksOnTermination() *pulumi.BoolOutput

Should the Data Disks (either the Managed Disks / VHD Blobs) be deleted when the Virtual Machine is destroyed? Defaults to `false`.

func (*VirtualMachine) DeleteOsDiskOnTermination

func (r *VirtualMachine) DeleteOsDiskOnTermination() *pulumi.BoolOutput

Should the OS Disk (either the Managed Disk / VHD Blob) be deleted when the Virtual Machine is destroyed? Defaults to `false`.

func (*VirtualMachine) ID

func (r *VirtualMachine) ID() *pulumi.IDOutput

ID is this resource's unique identifier assigned by its provider.

func (*VirtualMachine) Identity

func (r *VirtualMachine) Identity() *pulumi.Output

A `identity` block.

func (*VirtualMachine) LicenseType

func (r *VirtualMachine) LicenseType() *pulumi.StringOutput

Specifies the BYOL Type for this Virtual Machine. This is only applicable to Windows Virtual Machines. Possible values are `Windows_Client` and `Windows_Server`.

func (*VirtualMachine) Location

func (r *VirtualMachine) Location() *pulumi.StringOutput

Specifies the Azure Region where the Virtual Machine exists. Changing this forces a new resource to be created.

func (*VirtualMachine) Name

func (r *VirtualMachine) Name() *pulumi.StringOutput

Specifies the name of the Virtual Machine. Changing this forces a new resource to be created.

func (*VirtualMachine) NetworkInterfaceIds

func (r *VirtualMachine) NetworkInterfaceIds() *pulumi.ArrayOutput

A list of Network Interface ID's which should be associated with the Virtual Machine.

func (*VirtualMachine) OsProfile

func (r *VirtualMachine) OsProfile() *pulumi.Output

An `os_profile` block. Required when `create_option` in the `storage_os_disk` block is set to `FromImage`.

func (*VirtualMachine) OsProfileLinuxConfig

func (r *VirtualMachine) OsProfileLinuxConfig() *pulumi.Output

A `os_profile_linux_config` block.

func (*VirtualMachine) OsProfileSecrets

func (r *VirtualMachine) OsProfileSecrets() *pulumi.ArrayOutput

One or more `os_profile_secrets` blocks.

func (*VirtualMachine) OsProfileWindowsConfig

func (r *VirtualMachine) OsProfileWindowsConfig() *pulumi.Output

A `os_profile_windows_config` block.

func (*VirtualMachine) Plan

func (r *VirtualMachine) Plan() *pulumi.Output

A `plan` block.

func (*VirtualMachine) PrimaryNetworkInterfaceId

func (r *VirtualMachine) PrimaryNetworkInterfaceId() *pulumi.StringOutput

The ID of the Network Interface (which must be attached to the Virtual Machine) which should be the Primary Network Interface for this Virtual Machine.

func (*VirtualMachine) ResourceGroupName

func (r *VirtualMachine) ResourceGroupName() *pulumi.StringOutput

Specifies the name of the Resource Group in which the Virtual Machine should exist. Changing this forces a new resource to be created.

func (*VirtualMachine) StorageDataDisks

func (r *VirtualMachine) StorageDataDisks() *pulumi.ArrayOutput

One or more `storage_data_disk` blocks.

func (*VirtualMachine) StorageImageReference

func (r *VirtualMachine) StorageImageReference() *pulumi.Output

A `storage_image_reference` block.

func (*VirtualMachine) StorageOsDisk

func (r *VirtualMachine) StorageOsDisk() *pulumi.Output

A `storage_os_disk` block.

func (*VirtualMachine) Tags

func (r *VirtualMachine) Tags() *pulumi.MapOutput

A mapping of tags to assign to the Virtual Machine.

func (*VirtualMachine) URN

func (r *VirtualMachine) URN() *pulumi.URNOutput

URN is this resource's unique name assigned by Pulumi.

func (*VirtualMachine) VmSize

func (r *VirtualMachine) VmSize() *pulumi.StringOutput

Specifies the [size of the Virtual Machine](https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-size-specs/).

func (*VirtualMachine) Zones

func (r *VirtualMachine) Zones() *pulumi.StringOutput

A list of a single item of the Availability Zone which the Virtual Machine should be allocated in.

type VirtualMachineArgs

type VirtualMachineArgs struct {
	// The ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
	AvailabilitySetId interface{}
	// A `boot_diagnostics` block.
	BootDiagnostics interface{}
	// Should the Data Disks (either the Managed Disks / VHD Blobs) be deleted when the Virtual Machine is destroyed? Defaults to `false`.
	DeleteDataDisksOnTermination interface{}
	// Should the OS Disk (either the Managed Disk / VHD Blob) be deleted when the Virtual Machine is destroyed? Defaults to `false`.
	DeleteOsDiskOnTermination interface{}
	// A `identity` block.
	Identity interface{}
	// Specifies the BYOL Type for this Virtual Machine. This is only applicable to Windows Virtual Machines. Possible values are `Windows_Client` and `Windows_Server`.
	LicenseType interface{}
	// Specifies the Azure Region where the Virtual Machine exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the Virtual Machine. Changing this forces a new resource to be created.
	Name interface{}
	// A list of Network Interface ID's which should be associated with the Virtual Machine.
	NetworkInterfaceIds interface{}
	// An `os_profile` block. Required when `create_option` in the `storage_os_disk` block is set to `FromImage`.
	OsProfile interface{}
	// A `os_profile_linux_config` block.
	OsProfileLinuxConfig interface{}
	// One or more `os_profile_secrets` blocks.
	OsProfileSecrets interface{}
	// A `os_profile_windows_config` block.
	OsProfileWindowsConfig interface{}
	// A `plan` block.
	Plan interface{}
	// The ID of the Network Interface (which must be attached to the Virtual Machine) which should be the Primary Network Interface for this Virtual Machine.
	PrimaryNetworkInterfaceId interface{}
	// Specifies the name of the Resource Group in which the Virtual Machine should exist. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// One or more `storage_data_disk` blocks.
	StorageDataDisks interface{}
	// A `storage_image_reference` block.
	StorageImageReference interface{}
	// A `storage_os_disk` block.
	StorageOsDisk interface{}
	// A mapping of tags to assign to the Virtual Machine.
	Tags interface{}
	// Specifies the [size of the Virtual Machine](https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-size-specs/).
	VmSize interface{}
	// A list of a single item of the Availability Zone which the Virtual Machine should be allocated in.
	Zones interface{}
}

The set of arguments for constructing a VirtualMachine resource.

type VirtualMachineState

type VirtualMachineState struct {
	// The ID of the Availability Set in which the Virtual Machine should exist. Changing this forces a new resource to be created.
	AvailabilitySetId interface{}
	// A `boot_diagnostics` block.
	BootDiagnostics interface{}
	// Should the Data Disks (either the Managed Disks / VHD Blobs) be deleted when the Virtual Machine is destroyed? Defaults to `false`.
	DeleteDataDisksOnTermination interface{}
	// Should the OS Disk (either the Managed Disk / VHD Blob) be deleted when the Virtual Machine is destroyed? Defaults to `false`.
	DeleteOsDiskOnTermination interface{}
	// A `identity` block.
	Identity interface{}
	// Specifies the BYOL Type for this Virtual Machine. This is only applicable to Windows Virtual Machines. Possible values are `Windows_Client` and `Windows_Server`.
	LicenseType interface{}
	// Specifies the Azure Region where the Virtual Machine exists. Changing this forces a new resource to be created.
	Location interface{}
	// Specifies the name of the Virtual Machine. Changing this forces a new resource to be created.
	Name interface{}
	// A list of Network Interface ID's which should be associated with the Virtual Machine.
	NetworkInterfaceIds interface{}
	// An `os_profile` block. Required when `create_option` in the `storage_os_disk` block is set to `FromImage`.
	OsProfile interface{}
	// A `os_profile_linux_config` block.
	OsProfileLinuxConfig interface{}
	// One or more `os_profile_secrets` blocks.
	OsProfileSecrets interface{}
	// A `os_profile_windows_config` block.
	OsProfileWindowsConfig interface{}
	// A `plan` block.
	Plan interface{}
	// The ID of the Network Interface (which must be attached to the Virtual Machine) which should be the Primary Network Interface for this Virtual Machine.
	PrimaryNetworkInterfaceId interface{}
	// Specifies the name of the Resource Group in which the Virtual Machine should exist. Changing this forces a new resource to be created.
	ResourceGroupName interface{}
	// One or more `storage_data_disk` blocks.
	StorageDataDisks interface{}
	// A `storage_image_reference` block.
	StorageImageReference interface{}
	// A `storage_os_disk` block.
	StorageOsDisk interface{}
	// A mapping of tags to assign to the Virtual Machine.
	Tags interface{}
	// Specifies the [size of the Virtual Machine](https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-size-specs/).
	VmSize interface{}
	// A list of a single item of the Availability Zone which the Virtual Machine should be allocated in.
	Zones interface{}
}

Input properties used for looking up and filtering VirtualMachine resources.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL