# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

import pulumi
import pulumi.runtime
from .. import utilities, tables

class SqlServer(pulumi.CustomResource):
    """
    Manages a SQL Azure Database Server.
    
    ~> **Note:** All arguments including the administrator login and password will be stored in the raw state as plain-text.
    [Read more about sensitive data in state](https://www.terraform.io/docs/state/sensitive-data.html).
    """
    def __init__(__self__, __name__, __opts__=None, administrator_login=None, administrator_login_password=<PASSWORD>, location=None, name=None, resource_group_name=None, tags=None, version=None):
        """Create a SqlServer resource with the given unique name, props, and options."""
        if not __name__:
            raise TypeError('Missing resource name argument (for URN creation)')
        if not isinstance(__name__, str):
            raise TypeError('Expected resource name to be a string')
        if __opts__ and not isinstance(__opts__, pulumi.ResourceOptions):
            raise TypeError('Expected resource options to be a ResourceOptions instance')

        __props__ = dict()

        if not administrator_login:
            raise TypeError('Missing required property administrator_login')
        __props__['administrator_login'] = administrator_login

        if not administrator_login_password:
            raise TypeError('Missing required property administrator_login_password')
        __props__['administrator_login_password'] = <PASSWORD>

        if not location:
            raise TypeError('Missing required property location')
        __props__['location'] = location

        __props__['name'] = name

        if not resource_group_name:
            raise TypeError('Missing required property resource_group_name')
        __props__['resource_group_name'] = resource_group_name

        __props__['tags'] = tags

        if not version:
            raise TypeError('Missing required property version')
        __props__['version'] = version

        __props__['fully_qualified_domain_name'] = None

        super(SqlServer, __self__).__init__(
            'azure:sql/sqlServer:SqlServer',
            __name__,
            __props__,
            __opts__)


    def translate_output_property(self, prop):
        return tables._CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop

    def translate_input_property(self, prop):
        return tables._SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop


# coding=utf-8
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***

import pulumi
import pulumi.runtime
from .. import utilities, tables

class SqlServer(pulumi.CustomResource):
    """
    Manages a SQL Azure Database Server.
    
    ~> **Note:** All arguments including the administrator login and password will be stored in the raw state as plain-text.
    [Read more about sensitive data in state](https://www.terraform.io/docs/state/sensitive-data.html).
    """
    def __init__(__self__, __name__, __opts__=None, administrator_login=None, administrator_login_password=<PASSWORD>, location=None, name=None, resource_group_name=None, tags=None, version=None):
        """Create a SqlServer resource with the given unique name, props, and options."""
        if not __name__:
            raise TypeError('Missing resource name argument (for URN creation)')
        if not isinstance(__name__, str):
            raise TypeError('Expected resource name to be a string')
        if __opts__ and not isinstance(__opts__, pulumi.ResourceOptions):
            raise TypeError('Expected resource options to be a ResourceOptions instance')

        __props__ = dict()

        if not administrator_login:
            raise TypeError('Missing required property administrator_login')
        __props__['administrator_login'] = administrator_login

        if not administrator_login_password:
            raise TypeError('Missing required property administrator_login_password')
        __props__['administrator_login_password'] = <PASSWORD>

        if not location:
            raise TypeError('Missing required property location')
        __props__['location'] = location

        __props__['name'] = name

        if not resource_group_name:
            raise TypeError('Missing required property resource_group_name')
        __props__['resource_group_name'] = resource_group_name

        __props__['tags'] = tags

        if not version:
            raise TypeError('Missing required property version')
        __props__['version'] = version

        __props__['fully_qualified_domain_name'] = None

        super(SqlServer, __self__).__init__(
            'azure:sql/sqlServer:SqlServer',
            __name__,
            __props__,
            __opts__)


    def translate_output_property(self, prop):
        return tables._CAMEL_TO_SNAKE_CASE_TABLE.get(prop) or prop

    def translate_input_property(self, prop):
        return tables._SNAKE_TO_CAMEL_CASE_TABLE.get(prop) or prop


# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** Manages a SQL Azure Database Server.          ~> **Note:** All arguments including the administrator login and password will be stored in the raw state as plain-text.     [Read more about sensitive data in state](https://www.terraform.io/docs/state/sensitive-data.html). Create a SqlServer resource with the given unique name, props, and options.