Class VirtualMachine
Manages a Microsoft SQL Virtual Machine
Inherited Members
Namespace: Pulumi.Azure.MSSql
Assembly: Pulumi.Azure.dll
Syntax
public class VirtualMachine : CustomResource
Constructors
View SourceVirtualMachine(String, VirtualMachineArgs, CustomResourceOptions)
Create a VirtualMachine resource with the given unique name, arguments, and options.
Declaration
public VirtualMachine(string name, VirtualMachineArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| VirtualMachineArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAutoPatching
An auto_patching block as defined below.
Declaration
public Output<VirtualMachineAutoPatching> AutoPatching { get; }
Property Value
| Type | Description |
|---|---|
| Output<VirtualMachineAutoPatching> |
KeyVaultCredential
(Optional) An key_vault_credential block as defined below.
Declaration
public Output<VirtualMachineKeyVaultCredential> KeyVaultCredential { get; }
Property Value
| Type | Description |
|---|---|
| Output<VirtualMachineKeyVaultCredential> |
RServicesEnabled
Should R Services be enabled?
Declaration
public Output<bool?> RServicesEnabled { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Boolean>> |
SqlConnectivityPort
The SQL Server port. Defaults to 1433.
Declaration
public Output<int?> SqlConnectivityPort { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Nullable<System.Int32>> |
SqlConnectivityType
The connectivity type used for this SQL Server. Defaults to PRIVATE.
Declaration
public Output<string> SqlConnectivityType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SqlConnectivityUpdatePassword
The SQL Server sysadmin login password.
Declaration
public Output<string> SqlConnectivityUpdatePassword { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SqlConnectivityUpdateUsername
The SQL Server sysadmin login to create.
Declaration
public Output<string> SqlConnectivityUpdateUsername { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
SqlLicenseType
The SQL Server license type. Possible values are AHUB (Azure Hybrid Benefit) and PAYG (Pay-As-You-Go). Changing this forces a new resource to be created.
Declaration
public Output<string> SqlLicenseType { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Tags
A mapping of tags to assign to the resource.
Declaration
public Output<ImmutableDictionary<string, string>> Tags { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableDictionary<System.String, System.String>> |
VirtualMachineId
The ID of the Virtual Machine. Changing this forces a new resource to be created.
Declaration
public Output<string> VirtualMachineId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, VirtualMachineState, CustomResourceOptions)
Get an existing VirtualMachine resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static VirtualMachine Get(string name, Input<string> id, VirtualMachineState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| VirtualMachineState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| VirtualMachine |