compute

package
v0.14.2-dev Latest Latest
Warning

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

Go to latest
Published: Jul 3, 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 Extension

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

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

~> **Please Note:** The CustomScript 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`.

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
}

Create 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
}

Create 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
}

Create 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](/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.

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. Default is 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.
	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. Default is 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.
	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. Default is 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
}

Create a virtual machine.

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 to create the virtual machine

func (*VirtualMachine) BootDiagnostics

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

A boot diagnostics profile block as referenced below.

func (*VirtualMachine) DeleteDataDisksOnTermination

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

Flag to enable deletion of storage data disk VHD blobs or managed disks when the VM is deleted, defaults to `false`

func (*VirtualMachine) DeleteOsDiskOnTermination

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

Flag to enable deletion of the OS disk VHD blob or managed disk when the VM is deleted, 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

An identity block as documented below.

func (*VirtualMachine) LicenseType

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

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

func (*VirtualMachine) Location

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

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

func (*VirtualMachine) Name

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

Specifies the name of the data disk.

func (*VirtualMachine) NetworkInterfaceIds

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

Specifies the list of resource IDs for the network interfaces associated with the virtual machine.

func (*VirtualMachine) OsProfile

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

An OS Profile block as documented below. Required when `create_option` in the `storage_os_disk` block is set to `FromImage`.

func (*VirtualMachine) OsProfileLinuxConfig

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

A Linux config block as documented below.

func (*VirtualMachine) OsProfileSecrets

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

A collection of Secret blocks as documented below.

func (*VirtualMachine) OsProfileWindowsConfig

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

A Windows config block as documented below.

func (*VirtualMachine) Plan

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

A plan block as documented below.

func (*VirtualMachine) PrimaryNetworkInterfaceId

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

Specifies the resource ID for the primary network interface associated with the virtual machine.

func (*VirtualMachine) ResourceGroupName

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

The name of the resource group in which to create the virtual machine.

func (*VirtualMachine) StorageDataDisks

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

A list of Storage Data disk blocks as referenced below.

func (*VirtualMachine) StorageImageReference

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

A Storage Image Reference block as documented below.

func (*VirtualMachine) StorageOsDisk

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

A Storage OS Disk block as referenced below.

func (*VirtualMachine) Tags

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

A mapping of tags to assign to the resource.

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 collection containing the availability zone to allocate the Virtual Machine in.

type VirtualMachineArgs

type VirtualMachineArgs struct {
	// The Id of the Availability Set in which to create the virtual machine
	AvailabilitySetId interface{}
	// A boot diagnostics profile block as referenced below.
	BootDiagnostics interface{}
	// Flag to enable deletion of storage data disk VHD blobs or managed disks when the VM is deleted, defaults to `false`
	DeleteDataDisksOnTermination interface{}
	// Flag to enable deletion of the OS disk VHD blob or managed disk when the VM is deleted, defaults to `false`
	DeleteOsDiskOnTermination interface{}
	// An identity block as documented below.
	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 data disk.
	Name interface{}
	// Specifies the list of resource IDs for the network interfaces associated with the virtual machine.
	NetworkInterfaceIds interface{}
	// An OS Profile block as documented below. Required when `create_option` in the `storage_os_disk` block is set to `FromImage`.
	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{}
	// A plan block as documented below.
	Plan interface{}
	// Specifies the resource ID for the primary network interface associated with the virtual machine.
	PrimaryNetworkInterfaceId interface{}
	// The name of the resource group in which to
	// create the virtual machine.
	ResourceGroupName interface{}
	// A list of Storage Data disk blocks as referenced below.
	StorageDataDisks interface{}
	// A Storage Image Reference block as documented below.
	StorageImageReference interface{}
	// A Storage OS Disk block as referenced below.
	StorageOsDisk interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// Specifies the [size of the virtual machine](https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-size-specs/).
	VmSize interface{}
	// A collection containing the availability zone to allocate the Virtual Machine 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 to create the virtual machine
	AvailabilitySetId interface{}
	// A boot diagnostics profile block as referenced below.
	BootDiagnostics interface{}
	// Flag to enable deletion of storage data disk VHD blobs or managed disks when the VM is deleted, defaults to `false`
	DeleteDataDisksOnTermination interface{}
	// Flag to enable deletion of the OS disk VHD blob or managed disk when the VM is deleted, defaults to `false`
	DeleteOsDiskOnTermination interface{}
	// An identity block as documented below.
	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 data disk.
	Name interface{}
	// Specifies the list of resource IDs for the network interfaces associated with the virtual machine.
	NetworkInterfaceIds interface{}
	// An OS Profile block as documented below. Required when `create_option` in the `storage_os_disk` block is set to `FromImage`.
	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{}
	// A plan block as documented below.
	Plan interface{}
	// Specifies the resource ID for the primary network interface associated with the virtual machine.
	PrimaryNetworkInterfaceId interface{}
	// The name of the resource group in which to
	// create the virtual machine.
	ResourceGroupName interface{}
	// A list of Storage Data disk blocks as referenced below.
	StorageDataDisks interface{}
	// A Storage Image Reference block as documented below.
	StorageImageReference interface{}
	// A Storage OS Disk block as referenced below.
	StorageOsDisk interface{}
	// A mapping of tags to assign to the resource.
	Tags interface{}
	// Specifies the [size of the virtual machine](https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-size-specs/).
	VmSize interface{}
	// A collection containing the availability zone to allocate the Virtual Machine 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