Documentation ¶
Index ¶
- type AvailabilitySet
- func (r *AvailabilitySet) ID() *pulumi.IDOutput
- func (r *AvailabilitySet) Location() *pulumi.StringOutput
- func (r *AvailabilitySet) Managed() *pulumi.BoolOutput
- func (r *AvailabilitySet) Name() *pulumi.StringOutput
- func (r *AvailabilitySet) PlatformFaultDomainCount() *pulumi.IntOutput
- func (r *AvailabilitySet) PlatformUpdateDomainCount() *pulumi.IntOutput
- func (r *AvailabilitySet) ResourceGroupName() *pulumi.StringOutput
- func (r *AvailabilitySet) Tags() *pulumi.MapOutput
- func (r *AvailabilitySet) URN() *pulumi.URNOutput
- type AvailabilitySetArgs
- type AvailabilitySetState
- type DataDiskAttachment
- func (r *DataDiskAttachment) Caching() *pulumi.StringOutput
- func (r *DataDiskAttachment) CreateOption() *pulumi.StringOutput
- func (r *DataDiskAttachment) ID() *pulumi.IDOutput
- func (r *DataDiskAttachment) Lun() *pulumi.IntOutput
- func (r *DataDiskAttachment) ManagedDiskId() *pulumi.StringOutput
- func (r *DataDiskAttachment) URN() *pulumi.URNOutput
- func (r *DataDiskAttachment) VirtualMachineId() *pulumi.StringOutput
- func (r *DataDiskAttachment) WriteAcceleratorEnabled() *pulumi.BoolOutput
- type DataDiskAttachmentArgs
- type DataDiskAttachmentState
- type Extension
- func (r *Extension) AutoUpgradeMinorVersion() *pulumi.BoolOutput
- func (r *Extension) ID() *pulumi.IDOutput
- func (r *Extension) Location() *pulumi.StringOutput
- func (r *Extension) Name() *pulumi.StringOutput
- func (r *Extension) ProtectedSettings() *pulumi.StringOutput
- func (r *Extension) Publisher() *pulumi.StringOutput
- func (r *Extension) ResourceGroupName() *pulumi.StringOutput
- func (r *Extension) Settings() *pulumi.StringOutput
- func (r *Extension) Tags() *pulumi.MapOutput
- func (r *Extension) Type() *pulumi.StringOutput
- func (r *Extension) TypeHandlerVersion() *pulumi.StringOutput
- func (r *Extension) URN() *pulumi.URNOutput
- func (r *Extension) VirtualMachineName() *pulumi.StringOutput
- type ExtensionArgs
- type ExtensionState
- type GetImageArgs
- type GetImageResult
- type GetManagedDiskArgs
- type GetManagedDiskResult
- type GetPlatformImageArgs
- type GetPlatformImageResult
- type GetSharedImageArgs
- type GetSharedImageGalleryArgs
- type GetSharedImageGalleryResult
- type GetSharedImageResult
- type GetSharedImageVersionArgs
- type GetSharedImageVersionResult
- type GetSnapshotArgs
- type GetSnapshotResult
- type Image
- func (r *Image) DataDisks() *pulumi.ArrayOutput
- func (r *Image) ID() *pulumi.IDOutput
- func (r *Image) Location() *pulumi.StringOutput
- func (r *Image) Name() *pulumi.StringOutput
- func (r *Image) OsDisk() *pulumi.Output
- func (r *Image) ResourceGroupName() *pulumi.StringOutput
- func (r *Image) SourceVirtualMachineId() *pulumi.StringOutput
- func (r *Image) Tags() *pulumi.MapOutput
- func (r *Image) URN() *pulumi.URNOutput
- type ImageArgs
- type ImageState
- type ManagedDisk
- func (r *ManagedDisk) CreateOption() *pulumi.StringOutput
- func (r *ManagedDisk) DiskSizeGb() *pulumi.IntOutput
- func (r *ManagedDisk) EncryptionSettings() *pulumi.Output
- func (r *ManagedDisk) ID() *pulumi.IDOutput
- func (r *ManagedDisk) ImageReferenceId() *pulumi.StringOutput
- func (r *ManagedDisk) Location() *pulumi.StringOutput
- func (r *ManagedDisk) Name() *pulumi.StringOutput
- func (r *ManagedDisk) OsType() *pulumi.StringOutput
- func (r *ManagedDisk) ResourceGroupName() *pulumi.StringOutput
- func (r *ManagedDisk) SourceResourceId() *pulumi.StringOutput
- func (r *ManagedDisk) SourceUri() *pulumi.StringOutput
- func (r *ManagedDisk) StorageAccountType() *pulumi.StringOutput
- func (r *ManagedDisk) Tags() *pulumi.MapOutput
- func (r *ManagedDisk) URN() *pulumi.URNOutput
- func (r *ManagedDisk) Zones() *pulumi.StringOutput
- type ManagedDiskArgs
- type ManagedDiskState
- type ScaleSet
- func (r *ScaleSet) BootDiagnostics() *pulumi.Output
- func (r *ScaleSet) Extensions() *pulumi.ArrayOutput
- func (r *ScaleSet) ID() *pulumi.IDOutput
- func (r *ScaleSet) Identity() *pulumi.Output
- func (r *ScaleSet) LicenseType() *pulumi.StringOutput
- func (r *ScaleSet) Location() *pulumi.StringOutput
- func (r *ScaleSet) Name() *pulumi.StringOutput
- func (r *ScaleSet) NetworkProfiles() *pulumi.ArrayOutput
- func (r *ScaleSet) OsProfile() *pulumi.Output
- func (r *ScaleSet) OsProfileLinuxConfig() *pulumi.Output
- func (r *ScaleSet) OsProfileSecrets() *pulumi.ArrayOutput
- func (r *ScaleSet) OsProfileWindowsConfig() *pulumi.Output
- func (r *ScaleSet) Overprovision() *pulumi.BoolOutput
- func (r *ScaleSet) Plan() *pulumi.Output
- func (r *ScaleSet) Priority() *pulumi.StringOutput
- func (r *ScaleSet) ResourceGroupName() *pulumi.StringOutput
- func (r *ScaleSet) SinglePlacementGroup() *pulumi.BoolOutput
- func (r *ScaleSet) Sku() *pulumi.Output
- func (r *ScaleSet) StorageProfileDataDisks() *pulumi.ArrayOutput
- func (r *ScaleSet) StorageProfileImageReference() *pulumi.Output
- func (r *ScaleSet) StorageProfileOsDisk() *pulumi.Output
- func (r *ScaleSet) Tags() *pulumi.MapOutput
- func (r *ScaleSet) URN() *pulumi.URNOutput
- func (r *ScaleSet) UpgradePolicyMode() *pulumi.StringOutput
- func (r *ScaleSet) Zones() *pulumi.ArrayOutput
- type ScaleSetArgs
- type ScaleSetState
- type SharedImage
- func (r *SharedImage) Description() *pulumi.StringOutput
- func (r *SharedImage) Eula() *pulumi.StringOutput
- func (r *SharedImage) GalleryName() *pulumi.StringOutput
- func (r *SharedImage) ID() *pulumi.IDOutput
- func (r *SharedImage) Identifier() *pulumi.Output
- func (r *SharedImage) Location() *pulumi.StringOutput
- func (r *SharedImage) Name() *pulumi.StringOutput
- func (r *SharedImage) OsType() *pulumi.StringOutput
- func (r *SharedImage) PrivacyStatementUri() *pulumi.StringOutput
- func (r *SharedImage) ReleaseNoteUri() *pulumi.StringOutput
- func (r *SharedImage) ResourceGroupName() *pulumi.StringOutput
- func (r *SharedImage) Tags() *pulumi.MapOutput
- func (r *SharedImage) URN() *pulumi.URNOutput
- type SharedImageArgs
- type SharedImageGallery
- func (r *SharedImageGallery) Description() *pulumi.StringOutput
- func (r *SharedImageGallery) ID() *pulumi.IDOutput
- func (r *SharedImageGallery) Location() *pulumi.StringOutput
- func (r *SharedImageGallery) Name() *pulumi.StringOutput
- func (r *SharedImageGallery) ResourceGroupName() *pulumi.StringOutput
- func (r *SharedImageGallery) Tags() *pulumi.MapOutput
- func (r *SharedImageGallery) URN() *pulumi.URNOutput
- func (r *SharedImageGallery) UniqueName() *pulumi.StringOutput
- type SharedImageGalleryArgs
- type SharedImageGalleryState
- type SharedImageState
- type SharedImageVersion
- func (r *SharedImageVersion) ExcludeFromLatest() *pulumi.BoolOutput
- func (r *SharedImageVersion) GalleryName() *pulumi.StringOutput
- func (r *SharedImageVersion) ID() *pulumi.IDOutput
- func (r *SharedImageVersion) ImageName() *pulumi.StringOutput
- func (r *SharedImageVersion) Location() *pulumi.StringOutput
- func (r *SharedImageVersion) ManagedImageId() *pulumi.StringOutput
- func (r *SharedImageVersion) Name() *pulumi.StringOutput
- func (r *SharedImageVersion) ResourceGroupName() *pulumi.StringOutput
- func (r *SharedImageVersion) Tags() *pulumi.MapOutput
- func (r *SharedImageVersion) TargetRegions() *pulumi.ArrayOutput
- func (r *SharedImageVersion) URN() *pulumi.URNOutput
- type SharedImageVersionArgs
- type SharedImageVersionState
- type Snapshot
- func (r *Snapshot) CreateOption() *pulumi.StringOutput
- func (r *Snapshot) DiskSizeGb() *pulumi.IntOutput
- func (r *Snapshot) EncryptionSettings() *pulumi.Output
- func (r *Snapshot) ID() *pulumi.IDOutput
- func (r *Snapshot) Location() *pulumi.StringOutput
- func (r *Snapshot) Name() *pulumi.StringOutput
- func (r *Snapshot) ResourceGroupName() *pulumi.StringOutput
- func (r *Snapshot) SourceResourceId() *pulumi.StringOutput
- func (r *Snapshot) SourceUri() *pulumi.StringOutput
- func (r *Snapshot) StorageAccountId() *pulumi.StringOutput
- func (r *Snapshot) Tags() *pulumi.MapOutput
- func (r *Snapshot) URN() *pulumi.URNOutput
- type SnapshotArgs
- type SnapshotState
- type VirtualMachine
- func (r *VirtualMachine) AvailabilitySetId() *pulumi.StringOutput
- func (r *VirtualMachine) BootDiagnostics() *pulumi.Output
- func (r *VirtualMachine) DeleteDataDisksOnTermination() *pulumi.BoolOutput
- func (r *VirtualMachine) DeleteOsDiskOnTermination() *pulumi.BoolOutput
- func (r *VirtualMachine) ID() *pulumi.IDOutput
- func (r *VirtualMachine) Identity() *pulumi.Output
- func (r *VirtualMachine) LicenseType() *pulumi.StringOutput
- func (r *VirtualMachine) Location() *pulumi.StringOutput
- func (r *VirtualMachine) Name() *pulumi.StringOutput
- func (r *VirtualMachine) NetworkInterfaceIds() *pulumi.ArrayOutput
- func (r *VirtualMachine) OsProfile() *pulumi.Output
- func (r *VirtualMachine) OsProfileLinuxConfig() *pulumi.Output
- func (r *VirtualMachine) OsProfileSecrets() *pulumi.ArrayOutput
- func (r *VirtualMachine) OsProfileWindowsConfig() *pulumi.Output
- func (r *VirtualMachine) Plan() *pulumi.Output
- func (r *VirtualMachine) PrimaryNetworkInterfaceId() *pulumi.StringOutput
- func (r *VirtualMachine) ResourceGroupName() *pulumi.StringOutput
- func (r *VirtualMachine) StorageDataDisks() *pulumi.ArrayOutput
- func (r *VirtualMachine) StorageImageReference() *pulumi.Output
- func (r *VirtualMachine) StorageOsDisk() *pulumi.Output
- func (r *VirtualMachine) Tags() *pulumi.MapOutput
- func (r *VirtualMachine) URN() *pulumi.URNOutput
- func (r *VirtualMachine) VmSize() *pulumi.StringOutput
- func (r *VirtualMachine) Zones() *pulumi.StringOutput
- type VirtualMachineArgs
- type VirtualMachineState
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
func (r *DataDiskAttachment) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*DataDiskAttachment) Lun ¶ added in v0.15.0
func (r *DataDiskAttachment) Lun() *pulumi.IntOutput
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
func (r *DataDiskAttachment) URN() *pulumi.URNOutput
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) 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) 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) 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 existing 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 information about an existing 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 information about a Platform Image.
type GetSharedImageArgs ¶ added in v0.16.1
type GetSharedImageArgs struct {GalleryName interface{} Name interface{} ResourceGroupName interface{} }
A collection of arguments for invoking getSharedImage.
type GetSharedImageGalleryArgs ¶ added in v0.16.1
type GetSharedImageGalleryArgs struct {Name interface{} ResourceGroupName interface{} }
A collection of arguments for invoking getSharedImageGallery.
type GetSharedImageGalleryResult ¶ added in v0.16.1
type GetSharedImageGalleryResult struct { // A description for the Shared Image Gallery. Tags interface{} UniqueName interface{} Id interface{} }
A collection of values returned by getSharedImageGallery.
func LookupSharedImageGallery ¶ added in v0.16.1
func LookupSharedImageGallery(ctx *pulumi.Context, args *GetSharedImageGalleryArgs) (*GetSharedImageGalleryResult, error)
Use this data source to access information about an existing Shared Image Gallery.
-> **NOTE** Shared Image Galleries are currently in Public Preview. You can find more information, including [how to register for the Public Preview here](https://azure.microsoft.com/en-gb/blog/announcing-the-public-preview-of-shared-image-gallery/).
type GetSharedImageResult ¶ added in v0.16.1
type GetSharedImageResult struct { // The End User Licence Agreement for the Shared Image. Location interface{} OsType interface{} PrivacyStatementUri interface{} ReleaseNoteUri interface{} Tags interface{} Id interface{} }Description interface{}
A collection of values returned by getSharedImage.
func LookupSharedImage ¶ added in v0.16.1
func LookupSharedImage(ctx *pulumi.Context, args *GetSharedImageArgs) (*GetSharedImageResult, error)
Use this data source to access information about an existing Shared Image within a Shared Image Gallery.
-> **NOTE** Shared Image Galleries are currently in Public Preview. You can find more information, including [how to register for the Public Preview here](https://azure.microsoft.com/en-gb/blog/announcing-the-public-preview-of-shared-image-gallery/).
type GetSharedImageVersionArgs ¶ added in v0.16.1
type GetSharedImageVersionArgs struct {GalleryName interface{} ImageName interface{} Name interface{} ResourceGroupName interface{} }
A collection of arguments for invoking getSharedImageVersion.
type GetSharedImageVersionResult ¶ added in v0.16.1
type GetSharedImageVersionResult struct {ExcludeFromLatest interface{} Location interface{} ManagedImageId interface{} Tags interface{} TargetRegions interface{} Id interface{} }
A collection of values returned by getSharedImageVersion.
func LookupSharedImageVersion ¶ added in v0.16.1
func LookupSharedImageVersion(ctx *pulumi.Context, args *GetSharedImageVersionArgs) (*GetSharedImageVersionResult, error)
Use this data source to access information about an existing Version of a Shared Image within a Shared Image Gallery.
-> **NOTE** Shared Image Galleries are currently in Public Preview. You can find more information, including [how to register for the Public Preview here](https://azure.microsoft.com/en-gb/blog/announcing-the-public-preview-of-shared-image-gallery/).
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 information about an existing Snapshot.
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) 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) 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.
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 ¶
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) 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) OsProfileLinuxConfig ¶
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 ¶
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) 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) StorageProfileDataDisks ¶
func (r *ScaleSet) StorageProfileDataDisks() *pulumi.ArrayOutput
A storage profile data disk block as documented below
func (*ScaleSet) StorageProfileImageReference ¶
A storage profile image reference block as documented below.
func (*ScaleSet) StorageProfileOsDisk ¶
A storage profile os disk block as documented below
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 SharedImage ¶ added in v0.16.1
type SharedImage struct {
// contains filtered or unexported fields
}
Manages a Shared Image within a Shared Image Gallery.
-> **NOTE** Shared Image Galleries are currently in Public Preview. You can find more information, including [how to register for the Public Preview here](https://azure.microsoft.com/en-gb/blog/announcing-the-public-preview-of-shared-image-gallery/).
func GetSharedImage ¶ added in v0.16.1
func GetSharedImage(ctx *pulumi.Context, name string, id pulumi.ID, state *SharedImageState, opts ...pulumi.ResourceOpt) (*SharedImage, error)
GetSharedImage gets an existing SharedImage 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 NewSharedImage ¶ added in v0.16.1
func NewSharedImage(ctx *pulumi.Context, name string, args *SharedImageArgs, opts ...pulumi.ResourceOpt) (*SharedImage, error)
NewSharedImage registers a new resource with the given unique name, arguments, and options.
func (*SharedImage) Description ¶ added in v0.16.1
func (r *SharedImage) Description() *pulumi.StringOutput
A description of this Shared Image.
func (*SharedImage) Eula ¶ added in v0.16.1
func (r *SharedImage) Eula() *pulumi.StringOutput
The End User Licence Agreement for the Shared Image.
func (*SharedImage) GalleryName ¶ added in v0.16.1
func (r *SharedImage) GalleryName() *pulumi.StringOutput
Specifies the name of the Shared Image Gallery in which this Shared Image should exist. Changing this forces a new resource to be created.
func (*SharedImage) ID ¶ added in v0.16.1
func (r *SharedImage) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*SharedImage) Identifier ¶ added in v0.16.1
func (r *SharedImage) Identifier() *pulumi.Output
func (*SharedImage) Location ¶ added in v0.16.1
func (r *SharedImage) Location() *pulumi.StringOutput
Specifies the supported Azure location where the Shared Image Gallery exists. Changing this forces a new resource to be created.
func (*SharedImage) Name ¶ added in v0.16.1
func (r *SharedImage) Name() *pulumi.StringOutput
Specifies the name of the Shared Image. Changing this forces a new resource to be created.
func (*SharedImage) OsType ¶ added in v0.16.1
func (r *SharedImage) OsType() *pulumi.StringOutput
The type of Operating System present in this Shared Image. Possible values are `Linux` and `Windows`.
func (*SharedImage) PrivacyStatementUri ¶ added in v0.16.1
func (r *SharedImage) PrivacyStatementUri() *pulumi.StringOutput
The URI containing the Privacy Statement associated with this Shared Image.
func (*SharedImage) ReleaseNoteUri ¶ added in v0.16.1
func (r *SharedImage) ReleaseNoteUri() *pulumi.StringOutput
The URI containing the Release Notes associated with this Shared Image.
func (*SharedImage) ResourceGroupName ¶ added in v0.16.1
func (r *SharedImage) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
func (*SharedImage) Tags ¶ added in v0.16.1
func (r *SharedImage) Tags() *pulumi.MapOutput
A mapping of tags to assign to the Shared Image.
func (*SharedImage) URN ¶ added in v0.16.1
func (r *SharedImage) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type SharedImageArgs ¶ added in v0.16.1
type SharedImageArgs struct { // Specifies the name of the Shared Image Gallery in which this Shared Image should exist. Changing this forces a new resource to be created. Location interface{} Name interface{} OsType interface{} PrivacyStatementUri interface{} ReleaseNoteUri interface{} ResourceGroupName interface{} Tags interface{} }Description interface{} Eula interface{}
The set of arguments for constructing a SharedImage resource.
type SharedImageGallery ¶ added in v0.16.1
type SharedImageGallery struct {
// contains filtered or unexported fields
}
Manages a Shared Image Gallery.
-> **NOTE** Shared Image Galleries are currently in Public Preview. You can find more information, including [how to register for the Public Preview here](https://azure.microsoft.com/en-gb/blog/announcing-the-public-preview-of-shared-image-gallery/).
func GetSharedImageGallery ¶ added in v0.16.1
func GetSharedImageGallery(ctx *pulumi.Context, name string, id pulumi.ID, state *SharedImageGalleryState, opts ...pulumi.ResourceOpt) (*SharedImageGallery, error)
GetSharedImageGallery gets an existing SharedImageGallery 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 NewSharedImageGallery ¶ added in v0.16.1
func NewSharedImageGallery(ctx *pulumi.Context, name string, args *SharedImageGalleryArgs, opts ...pulumi.ResourceOpt) (*SharedImageGallery, error)
NewSharedImageGallery registers a new resource with the given unique name, arguments, and options.
func (*SharedImageGallery) Description ¶ added in v0.16.1
func (r *SharedImageGallery) Description() *pulumi.StringOutput
A description for this Shared Image Gallery.
func (*SharedImageGallery) ID ¶ added in v0.16.1
func (r *SharedImageGallery) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*SharedImageGallery) Location ¶ added in v0.16.1
func (r *SharedImageGallery) Location() *pulumi.StringOutput
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
func (*SharedImageGallery) Name ¶ added in v0.16.1
func (r *SharedImageGallery) Name() *pulumi.StringOutput
Specifies the name of the Shared Image Gallery. Changing this forces a new resource to be created.
func (*SharedImageGallery) ResourceGroupName ¶ added in v0.16.1
func (r *SharedImageGallery) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the Shared Image Gallery. Changing this forces a new resource to be created.
func (*SharedImageGallery) Tags ¶ added in v0.16.1
func (r *SharedImageGallery) Tags() *pulumi.MapOutput
A mapping of tags to assign to the Shared Image Gallery.
func (*SharedImageGallery) URN ¶ added in v0.16.1
func (r *SharedImageGallery) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*SharedImageGallery) UniqueName ¶ added in v0.16.1
func (r *SharedImageGallery) UniqueName() *pulumi.StringOutput
type SharedImageGalleryArgs ¶ added in v0.16.1
type SharedImageGalleryArgs struct {Description interface{} Location interface{} Name interface{} ResourceGroupName interface{} Tags interface{} }
The set of arguments for constructing a SharedImageGallery resource.
type SharedImageGalleryState ¶ added in v0.16.1
type SharedImageGalleryState struct { // A mapping of tags to assign to the Shared Image Gallery. }Description interface{} Location interface{} Name interface{} ResourceGroupName interface{}
Input properties used for looking up and filtering SharedImageGallery resources.
type SharedImageState ¶ added in v0.16.1
type SharedImageState struct { // Specifies the name of the Shared Image Gallery in which this Shared Image should exist. Changing this forces a new resource to be created. Location interface{} Name interface{} OsType interface{} PrivacyStatementUri interface{} ReleaseNoteUri interface{} ResourceGroupName interface{} Tags interface{} }Description interface{} Eula interface{}
Input properties used for looking up and filtering SharedImage resources.
type SharedImageVersion ¶ added in v0.16.1
type SharedImageVersion struct {
// contains filtered or unexported fields
}
Manages a Version of a Shared Image within a Shared Image Gallery.
-> **NOTE** Shared Image Galleries are currently in Public Preview. You can find more information, including [how to register for the Public Preview here](https://azure.microsoft.com/en-gb/blog/announcing-the-public-preview-of-shared-image-gallery/).
func GetSharedImageVersion ¶ added in v0.16.1
func GetSharedImageVersion(ctx *pulumi.Context, name string, id pulumi.ID, state *SharedImageVersionState, opts ...pulumi.ResourceOpt) (*SharedImageVersion, error)
GetSharedImageVersion gets an existing SharedImageVersion 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 NewSharedImageVersion ¶ added in v0.16.1
func NewSharedImageVersion(ctx *pulumi.Context, name string, args *SharedImageVersionArgs, opts ...pulumi.ResourceOpt) (*SharedImageVersion, error)
NewSharedImageVersion registers a new resource with the given unique name, arguments, and options.
func (*SharedImageVersion) ExcludeFromLatest ¶ added in v0.16.1
func (r *SharedImageVersion) ExcludeFromLatest() *pulumi.BoolOutput
Should this Image Version be excluded from the `latest` filter? If set to `true` this Image Version won't be returned for the `latest` version. Defaults to `false`.
func (*SharedImageVersion) GalleryName ¶ added in v0.16.1
func (r *SharedImageVersion) GalleryName() *pulumi.StringOutput
The name of the Shared Image Gallery in which the Shared Image exists. Changing this forces a new resource to be created.
func (*SharedImageVersion) ID ¶ added in v0.16.1
func (r *SharedImageVersion) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*SharedImageVersion) ImageName ¶ added in v0.16.1
func (r *SharedImageVersion) ImageName() *pulumi.StringOutput
The name of the Shared Image within the Shared Image Gallery in which this Version should be created. Changing this forces a new resource to be created.
func (*SharedImageVersion) Location ¶ added in v0.16.1
func (r *SharedImageVersion) Location() *pulumi.StringOutput
The Azure Region in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
func (*SharedImageVersion) ManagedImageId ¶ added in v0.16.1
func (r *SharedImageVersion) ManagedImageId() *pulumi.StringOutput
The ID of the Managed Image which should be used for this Shared Image Version. Changing this forces a new resource to be created.
func (*SharedImageVersion) Name ¶ added in v0.16.1
func (r *SharedImageVersion) Name() *pulumi.StringOutput
The version number for this Image Version, such as `1.0.0`. Changing this forces a new resource to be created.
func (*SharedImageVersion) ResourceGroupName ¶ added in v0.16.1
func (r *SharedImageVersion) ResourceGroupName() *pulumi.StringOutput
The name of the Resource Group in which the Shared Image Gallery exists. Changing this forces a new resource to be created.
func (*SharedImageVersion) Tags ¶ added in v0.16.1
func (r *SharedImageVersion) Tags() *pulumi.MapOutput
A collection of tags which should be applied to this resource.
func (*SharedImageVersion) TargetRegions ¶ added in v0.16.1
func (r *SharedImageVersion) TargetRegions() *pulumi.ArrayOutput
One or more `target_region` blocks as documented below.
func (*SharedImageVersion) URN ¶ added in v0.16.1
func (r *SharedImageVersion) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type SharedImageVersionArgs ¶ added in v0.16.1
type SharedImageVersionArgs struct {ExcludeFromLatest interface{} GalleryName interface{} ImageName interface{} Location interface{} ManagedImageId interface{} Name interface{} ResourceGroupName interface{} Tags interface{} TargetRegions interface{} }
The set of arguments for constructing a SharedImageVersion resource.
type SharedImageVersionState ¶ added in v0.16.1
type SharedImageVersionState struct {ExcludeFromLatest interface{} GalleryName interface{} ImageName interface{} Location interface{} ManagedImageId interface{} Name interface{} ResourceGroupName interface{} Tags interface{} TargetRegions interface{} }
Input properties used for looking up and filtering SharedImageVersion 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 ¶
The size of the Snapshotted Disk in GB.
func (*Snapshot) EncryptionSettings ¶
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.
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) 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.
Source Files ¶
- availabilitySet.go
- dataDiskAttachment.go
- extension.go
- getImage.go
- getManagedDisk.go
- getPlatformImage.go
- getSharedImage.go
- getSharedImageGallery.go
- getSharedImageVersion.go
- getSnapshot.go
- image.go
- managedDisk.go
- scaleSet.go
- sharedImage.go
- sharedImageGallery.go
- sharedImageVersion.go
- snapshot.go
- virtualMachine.go