def METHOD_NAME(self):
    """Instance depends on the API version:
       * 2019-10-01-preview: :class:`DeploymentScriptsOperations<azure.mgmt.resource.deploymentscripts.v2019_10_01_preview.operations.DeploymentScriptsOperations>`
       * 2020-10-01: :class:`DeploymentScriptsOperations<azure.mgmt.resource.deploymentscripts.v2020_10_01.operations.DeploymentScriptsOperations>`
    """
    api_version = self._get_api_version('deployment_scripts')
    if api_version == '2019-10-01-preview':
        from .v2019_10_01_preview.operations import DeploymentScriptsOperations as OperationClass
    elif api_version == '2020-10-01':
        from .v2020_10_01.operations import DeploymentScriptsOperations as OperationClass
    else:
        raise ValueError("API version {} does not have operation group 'deployment_scripts'".format(api_version))
    self._config.api_version = api_version
    return OperationClass(self._client, self._config, Serializer(self._models_dict(api_version)), Deserializer(self._models_dict(api_version)))