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) ProximityPlacementGroupId() pulumi.StringOutput
- func (r *AvailabilitySet) ResourceGroupName() pulumi.StringOutput
- func (r *AvailabilitySet) Tags() pulumi.MapOutput
- func (r *AvailabilitySet) URN() pulumi.URNOutput
- type AvailabilitySetArgs
- type AvailabilitySetState
- type BastionHost
- func (r *BastionHost) DnsName() pulumi.StringOutput
- func (r *BastionHost) ID() pulumi.IDOutput
- func (r *BastionHost) IpConfiguration() pulumi.Output
- func (r *BastionHost) Location() pulumi.StringOutput
- func (r *BastionHost) Name() pulumi.StringOutput
- func (r *BastionHost) ResourceGroupName() pulumi.StringOutput
- func (r *BastionHost) Tags() pulumi.MapOutput
- func (r *BastionHost) URN() pulumi.URNOutput
- type BastionHostArgs
- type BastionHostState
- 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 DedicatedHostGroup
- func (r *DedicatedHostGroup) ID() pulumi.IDOutput
- func (r *DedicatedHostGroup) Location() pulumi.StringOutput
- func (r *DedicatedHostGroup) Name() pulumi.StringOutput
- func (r *DedicatedHostGroup) PlatformFaultDomainCount() pulumi.IntOutput
- func (r *DedicatedHostGroup) ResourceGroupName() pulumi.StringOutput
- func (r *DedicatedHostGroup) Tags() pulumi.MapOutput
- func (r *DedicatedHostGroup) URN() pulumi.URNOutput
- func (r *DedicatedHostGroup) Zones() pulumi.StringOutput
- type DedicatedHostGroupArgs
- type DedicatedHostGroupState
- type DiskEncryptionSet
- func (r *DiskEncryptionSet) ID() pulumi.IDOutput
- func (r *DiskEncryptionSet) Identity() pulumi.Output
- func (r *DiskEncryptionSet) KeyVaultKeyId() pulumi.StringOutput
- func (r *DiskEncryptionSet) Location() pulumi.StringOutput
- func (r *DiskEncryptionSet) Name() pulumi.StringOutput
- func (r *DiskEncryptionSet) ResourceGroupName() pulumi.StringOutput
- func (r *DiskEncryptionSet) Tags() pulumi.MapOutput
- func (r *DiskEncryptionSet) URN() pulumi.URNOutput
- type DiskEncryptionSetArgs
- type DiskEncryptionSetState
- 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 GetAvailabilitySetArgs
- type GetAvailabilitySetResult
- type GetDedicatedHostGroupArgs
- type GetDedicatedHostGroupResult
- type GetDiskEncryptionSetArgs
- type GetDiskEncryptionSetResult
- 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 GetVirtualMachineArgs
- type GetVirtualMachineResult
- type Image
- func (r *Image) DataDisks() pulumi.ArrayOutput
- func (r *Image) HyperVGeneration() pulumi.StringOutput
- 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
- func (r *Image) ZoneResilient() pulumi.BoolOutput
- type ImageArgs
- type ImageState
- type ManagedDisk
- func (r *ManagedDisk) CreateOption() pulumi.StringOutput
- func (r *ManagedDisk) DiskEncryptionSetId() pulumi.StringOutput
- func (r *ManagedDisk) DiskIopsReadWrite() pulumi.IntOutput
- func (r *ManagedDisk) DiskMbpsReadWrite() pulumi.IntOutput
- 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) StorageAccountId() 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) AutomaticOsUpgrade() pulumi.BoolOutput
- func (r *ScaleSet) BootDiagnostics() pulumi.Output
- func (r *ScaleSet) EvictionPolicy() pulumi.StringOutput
- func (r *ScaleSet) Extensions() pulumi.ArrayOutput
- func (r *ScaleSet) HealthProbeId() pulumi.StringOutput
- 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) ProximityPlacementGroupId() pulumi.StringOutput
- func (r *ScaleSet) ResourceGroupName() pulumi.StringOutput
- func (r *ScaleSet) RollingUpgradePolicy() pulumi.Output
- 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) AdditionalCapabilities() pulumi.Output
- 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) ProximityPlacementGroupId() 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/availability_set.html.markdown.
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) ProximityPlacementGroupId ¶ added in v1.1.0
func (r *AvailabilitySet) ProximityPlacementGroupId() pulumi.StringOutput
The ID of the Proximity Placement Group to which this Virtual Machine should be assigned. Changing this forces a new resource to be created
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 ID of the Proximity Placement Group to which this Virtual Machine should be assigned. Changing this forces a new resource to be created ProximityPlacementGroupId 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 ID of the Proximity Placement Group to which this Virtual Machine should be assigned. Changing this forces a new resource to be created ProximityPlacementGroupId 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 BastionHost ¶ added in v1.3.1
type BastionHost struct {
// contains filtered or unexported fields
}
Manages a Bastion Host Instance.
> **Note:** Bastion Host Instances are a preview feature in Azure, and therefore are only supported in a select number of regions. [Read more](https://docs.microsoft.com/en-us/azure/bastion/bastion-faq).
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/bastion_host.html.markdown.
func GetBastionHost ¶ added in v1.3.1
func GetBastionHost(ctx *pulumi.Context, name string, id pulumi.ID, state *BastionHostState, opts ...pulumi.ResourceOpt) (*BastionHost, error)
GetBastionHost gets an existing BastionHost 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 NewBastionHost ¶ added in v1.3.1
func NewBastionHost(ctx *pulumi.Context, name string, args *BastionHostArgs, opts ...pulumi.ResourceOpt) (*BastionHost, error)
NewBastionHost registers a new resource with the given unique name, arguments, and options.
func (*BastionHost) DnsName ¶ added in v1.3.1
func (r *BastionHost) DnsName() pulumi.StringOutput
The FQDN for the Azure Bastion Host.
func (*BastionHost) ID ¶ added in v1.3.1
func (r *BastionHost) ID() pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*BastionHost) IpConfiguration ¶ added in v1.3.1
func (r *BastionHost) IpConfiguration() pulumi.Output
A `ipConfiguration` block as defined below.
func (*BastionHost) Location ¶ added in v1.3.1
func (r *BastionHost) Location() pulumi.StringOutput
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
func (*BastionHost) Name ¶ added in v1.3.1
func (r *BastionHost) Name() pulumi.StringOutput
Specifies the name of the Bastion Host. Changing this forces a new resource to be created.
func (*BastionHost) ResourceGroupName ¶ added in v1.3.1
func (r *BastionHost) ResourceGroupName() pulumi.StringOutput
The name of the resource group in which to create the Bastion Host.
func (*BastionHost) Tags ¶ added in v1.3.1
func (r *BastionHost) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (*BastionHost) URN ¶ added in v1.3.1
func (r *BastionHost) URN() pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type BastionHostArgs ¶ added in v1.3.1
type BastionHostArgs struct { // A `ipConfiguration` block as defined below. IpConfiguration 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 Bastion Host. Changing this forces a new resource to be created. Name interface{} // The name of the resource group in which to create the Bastion Host. ResourceGroupName interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a BastionHost resource.
type BastionHostState ¶ added in v1.3.1
type BastionHostState struct { // The FQDN for the Azure Bastion Host. DnsName interface{} // A `ipConfiguration` block as defined below. IpConfiguration 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 Bastion Host. Changing this forces a new resource to be created. Name interface{} // The name of the resource group in which to create the Bastion Host. ResourceGroupName interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering BastionHost 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 `compute.VirtualMachine` resource, or using the `compute.DataDiskAttachment` 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 `storageDataDisk` block in the `compute.VirtualMachine` resource.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/virtual_machine_data_disk_attachment.html.markdown.
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 DedicatedHostGroup ¶ added in v1.11.0
type DedicatedHostGroup struct {
// contains filtered or unexported fields
}
Manage a Dedicated Host Group.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/dedicated_host_group.html.markdown.
func GetDedicatedHostGroup ¶ added in v1.11.0
func GetDedicatedHostGroup(ctx *pulumi.Context, name string, id pulumi.ID, state *DedicatedHostGroupState, opts ...pulumi.ResourceOpt) (*DedicatedHostGroup, error)
GetDedicatedHostGroup gets an existing DedicatedHostGroup 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 NewDedicatedHostGroup ¶ added in v1.11.0
func NewDedicatedHostGroup(ctx *pulumi.Context, name string, args *DedicatedHostGroupArgs, opts ...pulumi.ResourceOpt) (*DedicatedHostGroup, error)
NewDedicatedHostGroup registers a new resource with the given unique name, arguments, and options.
func (*DedicatedHostGroup) ID ¶ added in v1.11.0
func (r *DedicatedHostGroup) ID() pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*DedicatedHostGroup) Location ¶ added in v1.11.0
func (r *DedicatedHostGroup) Location() pulumi.StringOutput
The Azure location where the Dedicated Host Group exists. Changing this forces a new resource to be created.
func (*DedicatedHostGroup) Name ¶ added in v1.11.0
func (r *DedicatedHostGroup) Name() pulumi.StringOutput
Specifies the name of the Dedicated Host Group. Changing this forces a new resource to be created.
func (*DedicatedHostGroup) PlatformFaultDomainCount ¶ added in v1.11.0
func (r *DedicatedHostGroup) PlatformFaultDomainCount() pulumi.IntOutput
The number of fault domains that the Dedicated Host Group spans. Changing this forces a new resource to be created.
func (*DedicatedHostGroup) ResourceGroupName ¶ added in v1.11.0
func (r *DedicatedHostGroup) ResourceGroupName() pulumi.StringOutput
Specifies the name of the resource group the Dedicated Host Group is located in. Changing this forces a new resource to be created.
func (*DedicatedHostGroup) Tags ¶ added in v1.11.0
func (r *DedicatedHostGroup) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (*DedicatedHostGroup) URN ¶ added in v1.11.0
func (r *DedicatedHostGroup) URN() pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
func (*DedicatedHostGroup) Zones ¶ added in v1.11.0
func (r *DedicatedHostGroup) Zones() pulumi.StringOutput
A list of Availability Zones in which the Dedicated Host Group should be located. Changing this forces a new resource to be created.
type DedicatedHostGroupArgs ¶ added in v1.11.0
type DedicatedHostGroupArgs struct { // The Azure location where the Dedicated Host Group exists. Changing this forces a new resource to be created. Location interface{} // Specifies the name of the Dedicated Host Group. Changing this forces a new resource to be created. Name interface{} // The number of fault domains that the Dedicated Host Group spans. Changing this forces a new resource to be created. PlatformFaultDomainCount interface{} // Specifies the name of the resource group the Dedicated Host Group is located in. Changing this forces a new resource to be created. ResourceGroupName interface{} // A mapping of tags to assign to the resource. Tags interface{} // A list of Availability Zones in which the Dedicated Host Group should be located. Changing this forces a new resource to be created. Zones interface{} }
The set of arguments for constructing a DedicatedHostGroup resource.
type DedicatedHostGroupState ¶ added in v1.11.0
type DedicatedHostGroupState struct { // The Azure location where the Dedicated Host Group exists. Changing this forces a new resource to be created. Location interface{} // Specifies the name of the Dedicated Host Group. Changing this forces a new resource to be created. Name interface{} // The number of fault domains that the Dedicated Host Group spans. Changing this forces a new resource to be created. PlatformFaultDomainCount interface{} // Specifies the name of the resource group the Dedicated Host Group is located in. Changing this forces a new resource to be created. ResourceGroupName interface{} // A mapping of tags to assign to the resource. Tags interface{} // A list of Availability Zones in which the Dedicated Host Group should be located. Changing this forces a new resource to be created. Zones interface{} }
Input properties used for looking up and filtering DedicatedHostGroup resources.
type DiskEncryptionSet ¶ added in v1.11.0
type DiskEncryptionSet struct {
// contains filtered or unexported fields
}
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/disk_encryption_set.html.markdown.
func GetDiskEncryptionSet ¶ added in v1.11.0
func GetDiskEncryptionSet(ctx *pulumi.Context, name string, id pulumi.ID, state *DiskEncryptionSetState, opts ...pulumi.ResourceOpt) (*DiskEncryptionSet, error)
GetDiskEncryptionSet gets an existing DiskEncryptionSet 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 NewDiskEncryptionSet ¶ added in v1.11.0
func NewDiskEncryptionSet(ctx *pulumi.Context, name string, args *DiskEncryptionSetArgs, opts ...pulumi.ResourceOpt) (*DiskEncryptionSet, error)
NewDiskEncryptionSet registers a new resource with the given unique name, arguments, and options.
func (*DiskEncryptionSet) ID ¶ added in v1.11.0
func (r *DiskEncryptionSet) ID() pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*DiskEncryptionSet) Identity ¶ added in v1.11.0
func (r *DiskEncryptionSet) Identity() pulumi.Output
A `identity` block defined below.
func (*DiskEncryptionSet) KeyVaultKeyId ¶ added in v1.11.0
func (r *DiskEncryptionSet) KeyVaultKeyId() pulumi.StringOutput
Specifies the URL to a Key Vault Key (either from a Key Vault Key, or the Key URL for the Key Vault Secret).
func (*DiskEncryptionSet) Location ¶ added in v1.11.0
func (r *DiskEncryptionSet) Location() pulumi.StringOutput
Specifies the Azure Region where the Disk Encryption Set exists. Changing this forces a new resource to be created.
func (*DiskEncryptionSet) Name ¶ added in v1.11.0
func (r *DiskEncryptionSet) Name() pulumi.StringOutput
The name of the Disk Encryption Set. Changing this forces a new resource to be created.
func (*DiskEncryptionSet) ResourceGroupName ¶ added in v1.11.0
func (r *DiskEncryptionSet) ResourceGroupName() pulumi.StringOutput
Specifies the name of the Resource Group where the Disk Encryption Set should exist. Changing this forces a new resource to be created.
func (*DiskEncryptionSet) Tags ¶ added in v1.11.0
func (r *DiskEncryptionSet) Tags() pulumi.MapOutput
A mapping of tags to assign to the Disk Encryption Set.
func (*DiskEncryptionSet) URN ¶ added in v1.11.0
func (r *DiskEncryptionSet) URN() pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type DiskEncryptionSetArgs ¶ added in v1.11.0
type DiskEncryptionSetArgs struct { // A `identity` block defined below. Identity interface{} // Specifies the URL to a Key Vault Key (either from a Key Vault Key, or the Key URL for the Key Vault Secret). KeyVaultKeyId interface{} // Specifies the Azure Region where the Disk Encryption Set exists. Changing this forces a new resource to be created. Location interface{} // The name of the Disk Encryption Set. Changing this forces a new resource to be created. Name interface{} // Specifies the name of the Resource Group where the Disk Encryption Set should exist. Changing this forces a new resource to be created. ResourceGroupName interface{} // A mapping of tags to assign to the Disk Encryption Set. Tags interface{} }
The set of arguments for constructing a DiskEncryptionSet resource.
type DiskEncryptionSetState ¶ added in v1.11.0
type DiskEncryptionSetState struct { // A `identity` block defined below. Identity interface{} // Specifies the URL to a Key Vault Key (either from a Key Vault Key, or the Key URL for the Key Vault Secret). KeyVaultKeyId interface{} // Specifies the Azure Region where the Disk Encryption Set exists. Changing this forces a new resource to be created. Location interface{} // The name of the Disk Encryption Set. Changing this forces a new resource to be created. Name interface{} // Specifies the name of the Resource Group where the Disk Encryption Set should exist. Changing this forces a new resource to be created. ResourceGroupName interface{} // A mapping of tags to assign to the Disk Encryption Set. Tags interface{} }
Input properties used for looking up and filtering DiskEncryptionSet 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/virtual_machine_extension.html.markdown.
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 `typeHandlerVersion` 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 protectedSettings 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 `typeHandlerVersion` 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 protectedSettings 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{} // A mapping of tags to assign to the resource. 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 `typeHandlerVersion` 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 protectedSettings 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{} // A mapping of tags to assign to the resource. 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 GetAvailabilitySetArgs ¶ added in v0.17.2
type GetAvailabilitySetArgs struct { // The name of the Availability Set. Name interface{} // The name of the resource group in which the Availability Set exists. ResourceGroupName interface{} }
A collection of arguments for invoking getAvailabilitySet.
type GetAvailabilitySetResult ¶ added in v0.17.2
type GetAvailabilitySetResult struct { // The supported Azure location where the Availability Set exists. Location interface{} // Whether the availability set is managed or not. Managed interface{} Name interface{} // The number of fault domains that are used. PlatformFaultDomainCount interface{} // The number of update domains that are used. PlatformUpdateDomainCount interface{} ResourceGroupName interface{} // A mapping of tags 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 getAvailabilitySet.
func LookupAvailabilitySet ¶ added in v0.17.2
func LookupAvailabilitySet(ctx *pulumi.Context, args *GetAvailabilitySetArgs) (*GetAvailabilitySetResult, error)
Use this data source to access information about an existing Availability Set.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/availability_set.html.markdown.
type GetDedicatedHostGroupArgs ¶ added in v1.11.0
type GetDedicatedHostGroupArgs struct { // Specifies the name of the Dedicated Host Group. Name interface{} // Specifies the name of the resource group the Dedicated Host Group is located in. ResourceGroupName interface{} }
A collection of arguments for invoking getDedicatedHostGroup.
type GetDedicatedHostGroupResult ¶ added in v1.11.0
type GetDedicatedHostGroupResult struct { // The Azure location where the Dedicated Host Group exists. Location interface{} Name interface{} // The number of fault domains that the Dedicated Host Group spans. PlatformFaultDomainCount interface{} ResourceGroupName interface{} // A mapping of tags assigned to the resource. Tags interface{} // The Availability Zones in which this Dedicated Host Group is located. Zones interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getDedicatedHostGroup.
func LookupDedicatedHostGroup ¶ added in v1.11.0
func LookupDedicatedHostGroup(ctx *pulumi.Context, args *GetDedicatedHostGroupArgs) (*GetDedicatedHostGroupResult, error)
Use this data source to access information about an existing Dedicated Host Group.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/dedicated_host_group.html.markdown.
type GetDiskEncryptionSetArgs ¶ added in v1.11.0
type GetDiskEncryptionSetArgs struct { // The name of the Disk Encryption Set exists. Name interface{} // The name of the Resource Group where the Disk Encryption Set exists. ResourceGroupName interface{} }
A collection of arguments for invoking getDiskEncryptionSet.
type GetDiskEncryptionSetResult ¶ added in v1.11.0
type GetDiskEncryptionSetResult struct { // The location where the Disk Encryption Set exists. Location interface{} Name interface{} ResourceGroupName interface{} // A mapping of tags assigned to the Disk Encryption Set. Tags interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getDiskEncryptionSet.
func LookupDiskEncryptionSet ¶ added in v1.11.0
func LookupDiskEncryptionSet(ctx *pulumi.Context, args *GetDiskEncryptionSetArgs) (*GetDiskEncryptionSetResult, error)
Use this data source to access information about an existing Disk Encryption Set.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/disk_encryption_set.html.markdown.
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 `dataDisk` blocks as defined below. DataDisks interface{} // the Azure Location where this Image exists. Location interface{} // the name of the Image. Name interface{} NameRegex interface{} // a `osDisk` block as defined below. OsDisks interface{} ResourceGroupName interface{} SortDescending interface{} // a mapping of tags to assigned to the resource. Tags interface{} // is zone resiliency enabled? ZoneResilient 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/image.html.markdown.
type GetManagedDiskArgs ¶
type GetManagedDiskArgs struct { // Specifies the name of the Managed Disk. Name interface{} // Specifies the name of the Resource Group where this Managed Disk exists. ResourceGroupName interface{} Tags interface{} Zones interface{} }
A collection of arguments for invoking getManagedDisk.
type GetManagedDiskResult ¶
type GetManagedDiskResult struct { CreateOption interface{} // The ID of the Disk Encryption Set used to encrypt this Managed Disk. DiskEncryptionSetId interface{} // The number of IOPS allowed for this disk, where one operation can transfer between 4k and 256k bytes. DiskIopsReadWrite interface{} // The bandwidth allowed for this disk. DiskMbpsReadWrite interface{} // The size of the Managed Disk in gigabytes. DiskSizeGb interface{} Name interface{} // The operating system used for this Managed Disk. OsType interface{} ResourceGroupName interface{} // The ID of an existing Managed Disk which this Disk was created from. SourceResourceId interface{} // The Source URI for this Managed Disk. SourceUri interface{} // The ID of the Storage Account where the `sourceUri` is located. StorageAccountId interface{} // The storage account type for the Managed Disk. StorageAccountType interface{} // A mapping of tags assigned to the resource. Tags interface{} // A list of Availability Zones where the Managed Disk exists. 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/managed_disk.html.markdown.
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 { Location interface{} Offer interface{} Publisher interface{} Sku interface{} // 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/platform_image.html.markdown.
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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/shared_image_gallery.html.markdown.
type GetSharedImageResult ¶ added in v0.16.1
type GetSharedImageResult struct { // The End User Licence Agreement for the Shared Image. Identifiers interface{} // The supported Azure location where the Shared Image Gallery exists. OsType interface{} PrivacyStatementUri interface{} // The URI containing the Release Notes for this Shared Image. 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/shared_image.html.markdown.
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 { // Is this Image Version excluded from the `latest` filter? Location interface{} ManagedImageId interface{} // The Azure Region in which this Image Version exists. 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/shared_image_version.html.markdown.
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{} Name interface{} OsType interface{} ResourceGroupName 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/snapshot.html.markdown.
type GetVirtualMachineArgs ¶ added in v0.16.7
type GetVirtualMachineArgs struct { // Specifies the name of the Virtual Machine. Name interface{} // Specifies the name of the resource group the Virtual Machine is located in. ResourceGroupName interface{} }
A collection of arguments for invoking getVirtualMachine.
type GetVirtualMachineResult ¶ added in v0.16.7
type GetVirtualMachineResult struct { Name interface{} ResourceGroupName interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getVirtualMachine.
func LookupVirtualMachine ¶ added in v0.16.7
func LookupVirtualMachine(ctx *pulumi.Context, args *GetVirtualMachineArgs) (*GetVirtualMachineResult, error)
Use this data source to access information about an existing Virtual Machine.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/d/virtual_machine.html.markdown.
type Image ¶
type Image struct {
// contains filtered or unexported fields
}
Manages a custom virtual machine image that can be used to create virtual machines.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/image.html.markdown.
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 `dataDisk` elements as defined below.
func (*Image) HyperVGeneration ¶ added in v1.10.0
func (r *Image) HyperVGeneration() pulumi.StringOutput
The HyperVGenerationType of the VirtualMachine created from the image as `V1`, `V2`. The default is `V1`.
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.
func (*Image) ZoneResilient ¶ added in v0.18.0
func (r *Image) ZoneResilient() pulumi.BoolOutput
Is zone resiliency enabled? Defaults to `false`. Changing this forces a new resource to be created.
type ImageArgs ¶
type ImageArgs struct { // One or more `dataDisk` elements as defined below. DataDisks interface{} // The HyperVGenerationType of the VirtualMachine created from the image as `V1`, `V2`. The default is `V1`. HyperVGeneration 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 `osDisk` 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{} // Is zone resiliency enabled? Defaults to `false`. Changing this forces a new resource to be created. ZoneResilient interface{} }
The set of arguments for constructing a Image resource.
type ImageState ¶
type ImageState struct { // One or more `dataDisk` elements as defined below. DataDisks interface{} // The HyperVGenerationType of the VirtualMachine created from the image as `V1`, `V2`. The default is `V1`. HyperVGeneration 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 `osDisk` 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{} // Is zone resiliency enabled? Defaults to `false`. Changing this forces a new resource to be created. ZoneResilient interface{} }
Input properties used for looking up and filtering Image resources.
type ManagedDisk ¶
type ManagedDisk struct {
// contains filtered or unexported fields
}
Manages a managed disk.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/managed_disk.html.markdown.
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) DiskEncryptionSetId ¶ added in v1.11.0
func (r *ManagedDisk) DiskEncryptionSetId() pulumi.StringOutput
The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk. Changing this forces a new resource to be created.
func (*ManagedDisk) DiskIopsReadWrite ¶ added in v1.1.0
func (r *ManagedDisk) DiskIopsReadWrite() pulumi.IntOutput
The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes.
func (*ManagedDisk) DiskMbpsReadWrite ¶ added in v1.1.0
func (r *ManagedDisk) DiskMbpsReadWrite() pulumi.IntOutput
The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second.
func (*ManagedDisk) DiskSizeGb ¶
func (r *ManagedDisk) DiskSizeGb() pulumi.IntOutput
Specifies the size of the managed disk to create in gigabytes. If `createOption` 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
A `encryptionSettings` 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 `createOption` 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 where the Managed Disk should exist.
func (*ManagedDisk) SourceResourceId ¶
func (r *ManagedDisk) SourceResourceId() pulumi.StringOutput
The ID of an existing Managed Disk to copy `createOption` is `Copy` or the recovery point to restore when `createOption` is `Restore`
func (*ManagedDisk) SourceUri ¶
func (r *ManagedDisk) SourceUri() pulumi.StringOutput
URI to a valid VHD file to be used when `createOption` is `Import`.
func (*ManagedDisk) StorageAccountId ¶ added in v1.11.0
func (r *ManagedDisk) StorageAccountId() pulumi.StringOutput
The ID of the Storage Account where the `sourceUri` is located. Required when `createOption` is set to `Import`.
func (*ManagedDisk) StorageAccountType ¶
func (r *ManagedDisk) StorageAccountType() pulumi.StringOutput
The type of storage to use for the managed disk. Possible values are `Standard_LRS`, `Premium_LRS`, `StandardSSD_LRS` or `UltraSSD_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{} // The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk. Changing this forces a new resource to be created. DiskEncryptionSetId interface{} // The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes. DiskIopsReadWrite interface{} // The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second. DiskMbpsReadWrite interface{} // Specifies the size of the managed disk to create in gigabytes. If `createOption` is `Copy` or `FromImage`, then the value must be equal to or greater than the source's size. DiskSizeGb interface{} // A `encryptionSettings` block as defined below. EncryptionSettings interface{} // ID of an existing platform/marketplace disk image to copy when `createOption` 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 where the Managed Disk should exist. ResourceGroupName interface{} // The ID of an existing Managed Disk to copy `createOption` is `Copy` or the recovery point to restore when `createOption` is `Restore` SourceResourceId interface{} // URI to a valid VHD file to be used when `createOption` is `Import`. SourceUri interface{} // The ID of the Storage Account where the `sourceUri` is located. Required when `createOption` is set to `Import`. StorageAccountId interface{} // The type of storage to use for the managed disk. Possible values are `Standard_LRS`, `Premium_LRS`, `StandardSSD_LRS` or `UltraSSD_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{} // The ID of a Disk Encryption Set which should be used to encrypt this Managed Disk. Changing this forces a new resource to be created. DiskEncryptionSetId interface{} // The number of IOPS allowed for this disk; only settable for UltraSSD disks. One operation can transfer between 4k and 256k bytes. DiskIopsReadWrite interface{} // The bandwidth allowed for this disk; only settable for UltraSSD disks. MBps means millions of bytes per second. DiskMbpsReadWrite interface{} // Specifies the size of the managed disk to create in gigabytes. If `createOption` is `Copy` or `FromImage`, then the value must be equal to or greater than the source's size. DiskSizeGb interface{} // A `encryptionSettings` block as defined below. EncryptionSettings interface{} // ID of an existing platform/marketplace disk image to copy when `createOption` 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 where the Managed Disk should exist. ResourceGroupName interface{} // The ID of an existing Managed Disk to copy `createOption` is `Copy` or the recovery point to restore when `createOption` is `Restore` SourceResourceId interface{} // URI to a valid VHD file to be used when `createOption` is `Import`. SourceUri interface{} // The ID of the Storage Account where the `sourceUri` is located. Required when `createOption` is set to `Import`. StorageAccountId interface{} // The type of storage to use for the managed disk. Possible values are `Standard_LRS`, `Premium_LRS`, `StandardSSD_LRS` or `UltraSSD_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
}
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/virtual_machine_scale_set.html.markdown.
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) AutomaticOsUpgrade ¶ added in v0.16.5
func (r *ScaleSet) AutomaticOsUpgrade() pulumi.BoolOutput
Automatic OS patches can be applied by Azure to your scaleset. This is particularly useful when `upgradePolicyMode` is set to `Rolling`. Defaults to `false`.
func (*ScaleSet) BootDiagnostics ¶
A boot diagnostics profile block as referenced below.
func (*ScaleSet) EvictionPolicy ¶ added in v0.16.5
func (r *ScaleSet) EvictionPolicy() pulumi.StringOutput
Specifies the eviction policy for Virtual Machines in this Scale Set. Possible values are `Deallocate` and `Delete`.
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) HealthProbeId ¶ added in v0.16.5
func (r *ScaleSet) HealthProbeId() pulumi.StringOutput
Specifies the identifier for the load balancer health probe. Required when using `Rolling` as your `upgradePolicyMode`.
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.
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) ProximityPlacementGroupId ¶ added in v1.1.0
func (r *ScaleSet) ProximityPlacementGroupId() pulumi.StringOutput
The ID of the Proximity Placement Group to which this Virtual Machine should be assigned. Changing this forces a new resource to be created
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) RollingUpgradePolicy ¶ added in v0.16.5
A `rollingUpgradePolicy` block as defined below. This is only applicable when the `upgradePolicyMode` is `Rolling`.
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) 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, `Rolling`, `Manual`, or `Automatic`. When choosing `Rolling`, you will need to set a health probe.
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 { // Automatic OS patches can be applied by Azure to your scaleset. This is particularly useful when `upgradePolicyMode` is set to `Rolling`. Defaults to `false`. AutomaticOsUpgrade interface{} // A boot diagnostics profile block as referenced below. BootDiagnostics interface{} // Specifies the eviction policy for Virtual Machines in this Scale Set. Possible values are `Deallocate` and `Delete`. EvictionPolicy interface{} // Can be specified multiple times to add extension profiles to the scale set. Each `extension` block supports the fields documented below. Extensions interface{} // Specifies the identifier for the load balancer health probe. Required when using `Rolling` as your `upgradePolicyMode`. HealthProbeId 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 ID of the Proximity Placement Group to which this Virtual Machine should be assigned. Changing this forces a new resource to be created ProximityPlacementGroupId 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{} // A `rollingUpgradePolicy` block as defined below. This is only applicable when the `upgradePolicyMode` is `Rolling`. RollingUpgradePolicy 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, `Rolling`, `Manual`, or `Automatic`. When choosing `Rolling`, you will need to set a health probe. 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 { // Automatic OS patches can be applied by Azure to your scaleset. This is particularly useful when `upgradePolicyMode` is set to `Rolling`. Defaults to `false`. AutomaticOsUpgrade interface{} // A boot diagnostics profile block as referenced below. BootDiagnostics interface{} // Specifies the eviction policy for Virtual Machines in this Scale Set. Possible values are `Deallocate` and `Delete`. EvictionPolicy interface{} // Can be specified multiple times to add extension profiles to the scale set. Each `extension` block supports the fields documented below. Extensions interface{} // Specifies the identifier for the load balancer health probe. Required when using `Rolling` as your `upgradePolicyMode`. HealthProbeId 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 ID of the Proximity Placement Group to which this Virtual Machine should be assigned. Changing this forces a new resource to be created ProximityPlacementGroupId 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{} // A `rollingUpgradePolicy` block as defined below. This is only applicable when the `upgradePolicyMode` is `Rolling`. RollingUpgradePolicy 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, `Rolling`, `Manual`, or `Automatic`. When choosing `Rolling`, you will need to set a health probe. 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/shared_image.html.markdown.
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
An `identifier` block as defined below.
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 {Description interface{} Eula interface{} GalleryName interface{} Identifier interface{} Location interface{} Name interface{} OsType interface{} PrivacyStatementUri interface{} ReleaseNoteUri interface{} ResourceGroupName interface{} Tags 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/shared_image_gallery.html.markdown.
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
The Unique Name for this Shared Image Gallery.
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 {Description interface{} Location interface{} Name interface{} ResourceGroupName interface{} Tags interface{} UniqueName interface{} }
Input properties used for looking up and filtering SharedImageGallery resources.
type SharedImageState ¶ added in v0.16.1
type SharedImageState struct {Description interface{} Eula interface{} GalleryName interface{} Identifier interface{} Location interface{} Name interface{} OsType interface{} PrivacyStatementUri interface{} ReleaseNoteUri interface{} ResourceGroupName interface{} Tags 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/shared_image_version.html.markdown.
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 `targetRegion` 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.
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/snapshot.html.markdown.
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 `createOption` 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 `sourceUri` 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 `createOption` 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 `sourceUri` to allow authorization during import of unmanaged blobs from a different subscription. Changing this forces a new resource to be created. StorageAccountId interface{} // A mapping of tags to assign to the resource. 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 `createOption` 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 `sourceUri` to allow authorization during import of unmanaged blobs from a different subscription. Changing this forces a new resource to be created. StorageAccountId interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering Snapshot resources.
type VirtualMachine ¶
type VirtualMachine struct {
// contains filtered or unexported fields
}
> This content is derived from https://github.com/terraform-providers/terraform-provider-azurerm/blob/master/website/docs/r/virtual_machine.html.markdown.
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) AdditionalCapabilities ¶ added in v1.1.0
func (r *VirtualMachine) AdditionalCapabilities() pulumi.Output
A `additionalCapabilities` block.
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 `bootDiagnostics` 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 `osProfile` block. Required when `createOption` in the `storageOsDisk` block is set to `FromImage`.
func (*VirtualMachine) OsProfileLinuxConfig ¶
func (r *VirtualMachine) OsProfileLinuxConfig() pulumi.Output
A `osProfileLinuxConfig` block.
func (*VirtualMachine) OsProfileSecrets ¶
func (r *VirtualMachine) OsProfileSecrets() pulumi.ArrayOutput
One or more `osProfileSecrets` blocks.
func (*VirtualMachine) OsProfileWindowsConfig ¶
func (r *VirtualMachine) OsProfileWindowsConfig() pulumi.Output
A `osProfileWindowsConfig` 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) ProximityPlacementGroupId ¶ added in v1.1.0
func (r *VirtualMachine) ProximityPlacementGroupId() pulumi.StringOutput
The ID of the Proximity Placement Group to which this Virtual Machine should be assigned. Changing this forces a new resource to be created
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 `storageDataDisk` blocks.
func (*VirtualMachine) StorageImageReference ¶
func (r *VirtualMachine) StorageImageReference() pulumi.Output
A `storageImageReference` block.
func (*VirtualMachine) StorageOsDisk ¶
func (r *VirtualMachine) StorageOsDisk() pulumi.Output
A `storageOsDisk` 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 { // A `additionalCapabilities` block. AdditionalCapabilities interface{} // 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 `bootDiagnostics` 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 `osProfile` block. Required when `createOption` in the `storageOsDisk` block is set to `FromImage`. OsProfile interface{} // A `osProfileLinuxConfig` block. OsProfileLinuxConfig interface{} // One or more `osProfileSecrets` blocks. OsProfileSecrets interface{} // A `osProfileWindowsConfig` 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{} // The ID of the Proximity Placement Group to which this Virtual Machine should be assigned. Changing this forces a new resource to be created ProximityPlacementGroupId 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 `storageDataDisk` blocks. StorageDataDisks interface{} // A `storageImageReference` block. StorageImageReference interface{} // A `storageOsDisk` 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 { // A `additionalCapabilities` block. AdditionalCapabilities interface{} // 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 `bootDiagnostics` 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 `osProfile` block. Required when `createOption` in the `storageOsDisk` block is set to `FromImage`. OsProfile interface{} // A `osProfileLinuxConfig` block. OsProfileLinuxConfig interface{} // One or more `osProfileSecrets` blocks. OsProfileSecrets interface{} // A `osProfileWindowsConfig` 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{} // The ID of the Proximity Placement Group to which this Virtual Machine should be assigned. Changing this forces a new resource to be created ProximityPlacementGroupId 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 `storageDataDisk` blocks. StorageDataDisks interface{} // A `storageImageReference` block. StorageImageReference interface{} // A `storageOsDisk` 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
- bastionHost.go
- dataDiskAttachment.go
- dedicatedHostGroup.go
- diskEncryptionSet.go
- extension.go
- getAvailabilitySet.go
- getDedicatedHostGroup.go
- getDiskEncryptionSet.go
- getImage.go
- getManagedDisk.go
- getPlatformImage.go
- getSharedImage.go
- getSharedImageGallery.go
- getSharedImageVersion.go
- getSnapshot.go
- getVirtualMachine.go
- image.go
- managedDisk.go
- scaleSet.go
- sharedImage.go
- sharedImageGallery.go
- sharedImageVersion.go
- snapshot.go
- virtualMachine.go