import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; import * as enums from "../types/enums"; /** * A SQL virtual machine. * * Uses Azure REST API version 2023-10-01. In version 2.x of the Azure Native provider, it used API version 2022-02-01. * * Other available API versions: 2022-02-01, 2022-07-01-preview, 2022-08-01-preview, 2023-01-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native sqlvirtualmachine [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare class SqlVirtualMachine extends pulumi.CustomResource { /** * Get an existing SqlVirtualMachine resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): SqlVirtualMachine; /** * Returns true if the given object is an instance of SqlVirtualMachine. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is SqlVirtualMachine; /** * Additional VM Patching solution enabled on the Virtual Machine */ readonly additionalVmPatch: pulumi.Output; /** * SQL best practices Assessment Settings. */ readonly assessmentSettings: pulumi.Output; /** * Auto backup settings for SQL Server. */ readonly autoBackupSettings: pulumi.Output; /** * Auto patching settings for applying critical security updates to SQL virtual machine. */ readonly autoPatchingSettings: pulumi.Output; /** * The Azure API version of the resource. */ readonly azureApiVersion: pulumi.Output; /** * Enable automatic upgrade of Sql IaaS extension Agent. */ readonly enableAutomaticUpgrade: pulumi.Output; /** * DO NOT USE. This value will be deprecated. Azure Active Directory identity of the server. */ readonly identity: pulumi.Output; /** * Key vault credential settings. */ readonly keyVaultCredentialSettings: pulumi.Output; /** * SQL IaaS Agent least privilege mode. */ readonly leastPrivilegeMode: pulumi.Output; /** * The geo-location where the resource lives */ readonly location: pulumi.Output; /** * The name of the resource */ readonly name: pulumi.Output; /** * Operating System of the current SQL Virtual Machine. */ readonly osType: pulumi.Output; /** * Provisioning state to track the async operation status. */ readonly provisioningState: pulumi.Output; /** * SQL Server configuration management settings. */ readonly serverConfigurationsManagementSettings: pulumi.Output; /** * SQL image offer. Examples include SQL2016-WS2016, SQL2017-WS2016. */ readonly sqlImageOffer: pulumi.Output; /** * SQL Server edition type. */ readonly sqlImageSku: pulumi.Output; /** * SQL Server Management type. NOTE: This parameter is not used anymore. API will automatically detect the Sql Management, refrain from using it. */ readonly sqlManagement: pulumi.Output; /** * SQL Server license type. */ readonly sqlServerLicenseType: pulumi.Output; /** * ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part of. */ readonly sqlVirtualMachineGroupResourceId: pulumi.Output; /** * Storage Configuration Settings. */ readonly storageConfigurationSettings: pulumi.Output; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: pulumi.Output; /** * Resource tags. */ readonly tags: pulumi.Output<{ [key: string]: string; } | undefined>; /** * Troubleshooting status */ readonly troubleshootingStatus: pulumi.Output; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: pulumi.Output; /** * Virtual Machine Identity details used for Sql IaaS extension configurations. */ readonly virtualMachineIdentitySettings: pulumi.Output; /** * ARM Resource id of underlying virtual machine created from SQL marketplace image. */ readonly virtualMachineResourceId: pulumi.Output; /** * Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */ readonly wsfcDomainCredentials: pulumi.Output; /** * Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */ readonly wsfcStaticIp: pulumi.Output; /** * Create a SqlVirtualMachine resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: SqlVirtualMachineArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a SqlVirtualMachine resource. */ export interface SqlVirtualMachineArgs { /** * SQL best practices Assessment Settings. */ assessmentSettings?: pulumi.Input; /** * Auto backup settings for SQL Server. */ autoBackupSettings?: pulumi.Input; /** * Auto patching settings for applying critical security updates to SQL virtual machine. */ autoPatchingSettings?: pulumi.Input; /** * Enable automatic upgrade of Sql IaaS extension Agent. */ enableAutomaticUpgrade?: pulumi.Input; /** * DO NOT USE. This value will be deprecated. Azure Active Directory identity of the server. */ identity?: pulumi.Input; /** * Key vault credential settings. */ keyVaultCredentialSettings?: pulumi.Input; /** * SQL IaaS Agent least privilege mode. */ leastPrivilegeMode?: pulumi.Input; /** * The geo-location where the resource lives */ location?: pulumi.Input; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; /** * SQL Server configuration management settings. */ serverConfigurationsManagementSettings?: pulumi.Input; /** * SQL image offer. Examples include SQL2016-WS2016, SQL2017-WS2016. */ sqlImageOffer?: pulumi.Input; /** * SQL Server edition type. */ sqlImageSku?: pulumi.Input; /** * SQL Server Management type. NOTE: This parameter is not used anymore. API will automatically detect the Sql Management, refrain from using it. */ sqlManagement?: pulumi.Input; /** * SQL Server license type. */ sqlServerLicenseType?: pulumi.Input; /** * ARM resource id of the SQL virtual machine group this SQL virtual machine is or will be part of. */ sqlVirtualMachineGroupResourceId?: pulumi.Input; /** * Name of the SQL virtual machine. */ sqlVirtualMachineName?: pulumi.Input; /** * Storage Configuration Settings. */ storageConfigurationSettings?: pulumi.Input; /** * Resource tags. */ tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * Virtual Machine Identity details used for Sql IaaS extension configurations. */ virtualMachineIdentitySettings?: pulumi.Input; /** * ARM Resource id of underlying virtual machine created from SQL marketplace image. */ virtualMachineResourceId?: pulumi.Input; /** * Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */ wsfcDomainCredentials?: pulumi.Input; /** * Domain credentials for setting up Windows Server Failover Cluster for SQL availability group. */ wsfcStaticIp?: pulumi.Input; } //# sourceMappingURL=sqlVirtualMachine.d.ts.map