def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions]=None, location: Optional[pulumi.Input[str]]=None, resource_group_name: Optional[pulumi.Input[str]]=None, sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]]=None, sql_pool_name: Optional[pulumi.Input[str]]=None, tags: Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]=None, workspace_name: Optional[pulumi.Input[str]]=None, __props__=None):
    if (opts is None):
        opts = pulumi.ResourceOptions()
    if (not isinstance(opts, pulumi.ResourceOptions)):
        raise TypeError('Expected resource options to be a ResourceOptions instance')
    if (opts.version is None):
        opts.version = _utilities.get_version()
    if (opts.id is None):
        if (__props__ is not None):
            raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
        __props__ = SqlPoolsV3Args.__new__(SqlPoolsV3Args)
        __props__.__dict__['location'] = location
        if ((resource_group_name is None) and (not opts.urn)):
            raise TypeError("Missing required property 'resource_group_name'")
        __props__.__dict__['resource_group_name'] = resource_group_name
        __props__.__dict__['sku'] = sku
        __props__.__dict__['sql_pool_name'] = sql_pool_name
        __props__.__dict__['tags'] = tags
        if ((workspace_name is None) and (not opts.urn)):
            raise TypeError("Missing required property 'workspace_name'")
        __props__.__dict__['workspace_name'] = workspace_name
        __props__.__dict__['current_service_objective_name'] = None
        __props__.__dict__['kind'] = None
        __props__.__dict__['name'] = None
        __props__.__dict__['requested_service_objective_name'] = None
        __props__.__dict__['sql_pool_guid'] = None
        __props__.__dict__['status'] = None
        __props__.__dict__['system_data'] = None
        __props__.__dict__['type'] = None
    alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_='azure-nextgen:synapse/v20200401preview:SqlPoolsV3'), pulumi.Alias(type_='azure-native:synapse:SqlPoolsV3'), pulumi.Alias(type_='azure-nextgen:synapse:SqlPoolsV3'), pulumi.Alias(type_='azure-native:synapse/v20190601preview:SqlPoolsV3'), pulumi.Alias(type_='azure-nextgen:synapse/v20190601preview:SqlPoolsV3'), pulumi.Alias(type_='azure-native:synapse/v20201201:SqlPoolsV3'), pulumi.Alias(type_='azure-nextgen:synapse/v20201201:SqlPoolsV3'), pulumi.Alias(type_='azure-native:synapse/v20210301:SqlPoolsV3'), pulumi.Alias(type_='azure-nextgen:synapse/v20210301:SqlPoolsV3'), pulumi.Alias(type_='azure-native:synapse/v20210401preview:SqlPoolsV3'), pulumi.Alias(type_='azure-nextgen:synapse/v20210401preview:SqlPoolsV3')])
    opts = pulumi.ResourceOptions.merge(opts, alias_opts)
    super(SqlPoolsV3, __self__).__init__('azure-native:synapse/v20200401preview:SqlPoolsV3', resource_name, __props__, opts)
def _internal_init(__self__, resource_name: str, opts: Optional[pulumi.ResourceOptions]=None, location: Optional[pulumi.Input[str]]=None, resource_group_name: Optional[pulumi.Input[str]]=None, sku: Optional[pulumi.Input[pulumi.InputType['SkuArgs']]]=None, sql_pool_name: Optional[pulumi.Input[str]]=None, tags: Optional[pulumi.Input[Mapping[(str, pulumi.Input[str])]]]=None, workspace_name: Optional[pulumi.Input[str]]=None, __props__=None):
    if (opts is None):
        opts = pulumi.ResourceOptions()
    if (not isinstance(opts, pulumi.ResourceOptions)):
        raise TypeError('Expected resource options to be a ResourceOptions instance')
    if (opts.version is None):
        opts.version = _utilities.get_version()
    if (opts.id is None):
        if (__props__ is not None):
            raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
        __props__ = SqlPoolsV3Args.__new__(SqlPoolsV3Args)
        __props__.__dict__['location'] = location
        if ((resource_group_name is None) and (not opts.urn)):
            raise TypeError("Missing required property 'resource_group_name'")
        __props__.__dict__['resource_group_name'] = resource_group_name
        __props__.__dict__['sku'] = sku
        __props__.__dict__['sql_pool_name'] = sql_pool_name
        __props__.__dict__['tags'] = tags
        if ((workspace_name is None) and (not opts.urn)):
            raise TypeError("Missing required property 'workspace_name'")
        __props__.__dict__['workspace_name'] = workspace_name
        __props__.__dict__['current_service_objective_name'] = None
        __props__.__dict__['kind'] = None
        __props__.__dict__['name'] = None
        __props__.__dict__['requested_service_objective_name'] = None
        __props__.__dict__['sql_pool_guid'] = None
        __props__.__dict__['status'] = None
        __props__.__dict__['system_data'] = None
        __props__.__dict__['type'] = None
    alias_opts = pulumi.ResourceOptions(aliases=[pulumi.Alias(type_='azure-nextgen:synapse/v20200401preview:SqlPoolsV3'), pulumi.Alias(type_='azure-native:synapse:SqlPoolsV3'), pulumi.Alias(type_='azure-nextgen:synapse:SqlPoolsV3'), pulumi.Alias(type_='azure-native:synapse/v20190601preview:SqlPoolsV3'), pulumi.Alias(type_='azure-nextgen:synapse/v20190601preview:SqlPoolsV3'), pulumi.Alias(type_='azure-native:synapse/v20201201:SqlPoolsV3'), pulumi.Alias(type_='azure-nextgen:synapse/v20201201:SqlPoolsV3'), pulumi.Alias(type_='azure-native:synapse/v20210301:SqlPoolsV3'), pulumi.Alias(type_='azure-nextgen:synapse/v20210301:SqlPoolsV3'), pulumi.Alias(type_='azure-native:synapse/v20210401preview:SqlPoolsV3'), pulumi.Alias(type_='azure-nextgen:synapse/v20210401preview:SqlPoolsV3')])
    opts = pulumi.ResourceOptions.merge(opts, alias_opts)
    super(SqlPoolsV3, __self__).__init__('azure-native:synapse/v20200401preview:SqlPoolsV3', resource_name, __props__, opts)