Show / Hide Table of Contents

Class VirtualMachine

Manages a Microsoft SQL Virtual Machine

Inheritance
System.Object
Resource
CustomResource
VirtualMachine
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.MSSql
Assembly: Pulumi.Azure.dll
Syntax
public class VirtualMachine : CustomResource

Constructors

View Source

VirtualMachine(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 Source

AutoPatching

An auto_patching block as defined below.

Declaration
public Output<VirtualMachineAutoPatching> AutoPatching { get; }
Property Value
Type Description
Output<VirtualMachineAutoPatching>
View Source

KeyVaultCredential

(Optional) An key_vault_credential block as defined below.

Declaration
public Output<VirtualMachineKeyVaultCredential> KeyVaultCredential { get; }
Property Value
Type Description
Output<VirtualMachineKeyVaultCredential>
View Source

RServicesEnabled

Should R Services be enabled?

Declaration
public Output<bool?> RServicesEnabled { get; }
Property Value
Type Description
Output<System.Nullable<System.Boolean>>
View Source

SqlConnectivityPort

The SQL Server port. Defaults to 1433.

Declaration
public Output<int?> SqlConnectivityPort { get; }
Property Value
Type Description
Output<System.Nullable<System.Int32>>
View Source

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>
View Source

SqlConnectivityUpdatePassword

The SQL Server sysadmin login password.

Declaration
public Output<string> SqlConnectivityUpdatePassword { get; }
Property Value
Type Description
Output<System.String>
View Source

SqlConnectivityUpdateUsername

The SQL Server sysadmin login to create.

Declaration
public Output<string> SqlConnectivityUpdateUsername { get; }
Property Value
Type Description
Output<System.String>
View Source

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>
View Source

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>>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.